tool/main.cpp
changeset 1121 52a005ffd011
parent 1120 0ae26760c12d
child 1122 ee305a780a02
--- a/tool/main.cpp	Mon Jul 21 19:29:34 2008 +0000
+++ b/tool/main.cpp	Mon Jul 21 22:06:33 2008 +0000
@@ -27,7 +27,7 @@
 static Master::Verbosity verbosity = Master::Normal;
 string dataTypeStr;
 bool force = false;
-bool helpWanted = false;
+bool helpRequested = false;
 
 /*****************************************************************************/
 
@@ -154,7 +154,7 @@
                 break;
 
             case 'h':
-                helpWanted = true;
+                helpRequested = true;
                 break;
 
             case '?':
@@ -170,11 +170,11 @@
 	argCount = argc - optind;
 
     if (!argCount) {
-        if (!helpWanted) {
+        if (!helpRequested) {
             cerr << "Please specify a command!" << endl;
         }
         printUsage();
-        exit(!helpWanted);
+        exit(!helpRequested);
 	}
 
     command = argv[optind];