From 0c804c677543350a2f80206a4f47adc9b7d460e3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 2 Dec 2003 10:21:40 +0000 Subject: [PATCH] * Regression fix: query flags (e.g., "-qsf") were broken. --- src/nix-env/main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index 829e2f4ae..a09021669 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);