aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-05-13 08:19:00 +0000
committerMike Buland <eichlan@xagasoft.com>2009-05-13 08:19:00 +0000
commitc6a908253d0264834878fabbe0e7e78c42b11284 (patch)
tree99bb47996a1284bc104479c40e16908ae01be7d7 /src/main.cpp
parent57401dcd699f1ae10c1ccae26a24ace4ebb57330 (diff)
downloadbuild-c6a908253d0264834878fabbe0e7e78c42b11284.tar.gz
build-c6a908253d0264834878fabbe0e7e78c42b11284.tar.bz2
build-c6a908253d0264834878fabbe0e7e78c42b11284.tar.xz
build-c6a908253d0264834878fabbe0e7e78c42b11284.zip
FBasicString changed a little, I had to fix some empty string tests. This is
way better now though.
Diffstat (limited to 'src/main.cpp')
-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("");