aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/common-args.hh
blob: 62657e0d02182bca6258e13d8c7e982f43a9022b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "args.hh"

namespace nix {

struct MixCommonArgs : virtual Args
{
    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);
    }
};

}