diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-19T15·34+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-19T15·34+0100 |
commit | e1cf40fa9537162efe0dc19dcea9ae7d043fde66 (patch) | |
tree | c2665d130f9bc17731216bb95b35c09892ed333e /src/nix-instantiate/nix-instantiate.cc | |
parent | c31836008e45460513188a3fbeda4416f9153a05 (diff) |
nix-instantiate: Rename --eval-only to --eval, --parse-only to --parse
Diffstat (limited to 'src/nix-instantiate/nix-instantiate.cc')
-rw-r--r-- | src/nix-instantiate/nix-instantiate.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index 94172869883d..762b52ae1da3 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -107,11 +107,11 @@ void run(Strings args) readStdin = true; else if (arg == "--expr" || arg == "-E") fromArgs = true; - else if (arg == "--eval-only") + else if (arg == "--eval" || arg == "--eval-only") evalOnly = true; else if (arg == "--read-write-mode") wantsReadWrite = true; - else if (arg == "--parse-only") + else if (arg == "--parse" || arg == "--parse-only") parseOnly = evalOnly = true; else if (arg == "--find-file") findFile = true; |