From 213dedf33bca5b2b51457999ac79cc64140af5c8 Mon Sep 17 00:00:00 2001 From: Karel Klic Date: Tue, 29 Jun 2010 16:52:32 +0200 Subject: Allow using the same operation multiple times --- src/CLI/CLI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/CLI/CLI.cpp b/src/CLI/CLI.cpp index b082115c..d882161a 100644 --- a/src/CLI/CLI.cpp +++ b/src/CLI/CLI.cpp @@ -210,7 +210,7 @@ int main(int argc, char** argv) longopts, &option_index); #define SET_OP(newop) \ - if (op != -1) \ + if (op != -1 && op != newop) \ { \ error_msg(_("You must specify exactly one operation.")); \ return 1; \ -- cgit