summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-06-29 16:52:32 +0200
committerKarel Klic <kklic@redhat.com>2010-06-29 16:52:32 +0200
commit213dedf33bca5b2b51457999ac79cc64140af5c8 (patch)
treebb1f7db1884cee2743ab7edee6f64dc6433c4c24 /src
parentb779e34fa9b133dad1e183bf8145a017c1bf15d2 (diff)
downloadabrt-213dedf33bca5b2b51457999ac79cc64140af5c8.tar.gz
abrt-213dedf33bca5b2b51457999ac79cc64140af5c8.tar.xz
abrt-213dedf33bca5b2b51457999ac79cc64140af5c8.zip
Allow using the same operation multiple times
Diffstat (limited to 'src')
-rw-r--r--src/CLI/CLI.cpp2
1 files changed, 1 insertions, 1 deletions
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; \