aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 77ee0c0..7ea2f18 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -57,7 +57,7 @@ public:
57 57
58 virtual int cmdParam( int argc, char *argv[] ) 58 virtual int cmdParam( int argc, char *argv[] )
59 { 59 {
60 if( sAction > 0 ) 60 if( !sAction.isSet() )
61 { 61 {
62 printf("You can only specify one action per command line.\n\n"); 62 printf("You can only specify one action per command line.\n\n");
63 exit( 1 ); 63 exit( 1 );
@@ -139,7 +139,7 @@ int main( int argc, char *argv[] )
139 } 139 }
140 else 140 else
141 { 141 {
142 if( prm.sAction > 0 ) 142 if( !prm.sAction.isSet() )
143 pBuild->execAction( prm.sAction.getStr() ); 143 pBuild->execAction( prm.sAction.getStr() );
144 else 144 else
145 pBuild->execAction(""); 145 pBuild->execAction("");