about summary refs log blame commit diff
path: root/src/libmain/common-args.hh
blob: 2c0d71edd81547c142a6e8afa8c1d8e017875b3f (plain) (tree)
1
2
3
4
5
6
7
8
9







                                   
                       













                                                                                          
#pragma once

#include "args.hh"

namespace nix {

struct MixCommonArgs : virtual Args
{
    string programName;
    MixCommonArgs(const string & programName);
};

struct MixDryRun : virtual Args
{
    bool dryRun;

    MixDryRun()
    {
        mkFlag(0, "dry-run", "show what this command would do without doing it", &dryRun);
    }
};

}