diff options
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r-- | src/nix-instantiate/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-instantiate/main.cc b/src/nix-instantiate/main.cc index 7668958fca17..d73d0e613f72 100644 --- a/src/nix-instantiate/main.cc +++ b/src/nix-instantiate/main.cc @@ -84,7 +84,7 @@ void run(Strings args) throw UsageError("`--add-root requires an argument"); gcRoot = absPath(*i++); } - else if (arg == "--attr") { + else if (arg == "--attr" || arg == "-A") { if (i == args.end()) throw UsageError("`--attr requires an argument"); attrPath = *i++; |