diff --git a/tool/main.cpp b/tool/main.cpp index 899f6ca6..4418ff6b 100644 --- a/tool/main.cpp +++ b/tool/main.cpp @@ -27,7 +27,7 @@ vector commandArgs; static Master::Verbosity verbosity = Master::Normal; string dataTypeStr; bool force = false; -bool helpWanted = false; +bool helpRequested = false; /*****************************************************************************/ @@ -154,7 +154,7 @@ void getOptions(int argc, char **argv) break; case 'h': - helpWanted = true; + helpRequested = true; break; case '?': @@ -170,11 +170,11 @@ void getOptions(int argc, char **argv) argCount = argc - optind; if (!argCount) { - if (!helpWanted) { + if (!helpRequested) { cerr << "Please specify a command!" << endl; } printUsage(); - exit(!helpWanted); + exit(!helpRequested); } command = argv[optind];