about summary refs log blame commit diff
path: root/src/libmain/common-args.hh
blob: 62657e0d02182bca6258e13d8c7e982f43a9022b (plain) (tree)





















                                                                                          
#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);
    }
};

}