diff options
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 941728698..762b52ae1 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; |