diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-12-02T10·21+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-12-02T10·21+0000 |
commit | 0c804c677543350a2f80206a4f47adc9b7d460e3 (patch) | |
tree | 4162d0aca1ff68d2e2408fbcf32edc64cc10dce7 /src/nix-env | |
parent | a3ca74a1c34d68c94fb3c723fb75f3f27f81e2a9 (diff) |
* Regression fix: query flags (e.g., "-qsf") were broken.
Diffstat (limited to 'src/nix-env')
-rw-r--r-- | src/nix-env/main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index 829e2f4ae508..a09021669c6e 100644 --- a/src/nix-env/main.cc +++ b/src/nix-env/main.cc @@ -402,6 +402,8 @@ void run(Strings args) op = opUninstall; else if (arg == "--query" || arg == "-q") op = opQuery; + else if (arg[0] == '-') + opFlags.push_back(arg); else opArgs.push_back(arg); |