From 874bfee9dabf86ca0c77e44437312c23cbc1be74 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Mon, 21 Jul 2008 22:06:33 +0000 Subject: [PATCH] helpRequested. --- tool/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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];