tool/main.cpp
changeset 1804 742607c464c4
parent 1516 e3b09f847512
child 1826 ec6223c3b7ec
--- a/tool/main.cpp	Tue Feb 02 19:38:32 2010 +0100
+++ b/tool/main.cpp	Fri Feb 05 10:29:47 2010 +0100
@@ -99,7 +99,7 @@
 
     str << "Usage: " << binaryBaseName << " <COMMAND> [OPTIONS] [ARGUMENTS]"
         << endl << endl
-		<< "Commands (can be abbreviated):" << endl;
+        << "Commands (can be abbreviated):" << endl;
 
     str << left;
     for (ci = commandList.begin(); ci != commandList.end(); ci++) {
@@ -108,9 +108,9 @@
     }
 
     str << endl
-		<< "Global options:" << endl
+        << "Global options:" << endl
         << "  --master  -m <master>  Index of the master to use. Default: 0."
-		<< endl
+        << endl
         << "  --force   -f           Force a command." << endl
         << "  --quiet   -q           Output less information." << endl
         << "  --verbose -v           Output more information." << endl
@@ -239,7 +239,7 @@
     }
     while (c != -1);
 
-	argCount = argc - optind;
+    argCount = argc - optind;
 
     if (!argCount) {
         if (helpRequested) {
@@ -250,7 +250,7 @@
                 << endl << usage();
             exit(1);
         }
-	}
+    }
 
     commandName = argv[optind];
     while (++optind < argc)
@@ -320,7 +320,7 @@
     commandList.push_back(new CommandVersion());
     commandList.push_back(new CommandXml());
 
-	getOptions(argc, argv);
+    getOptions(argc, argv);
 
     matchingCommands = getMatchingCommands(commandName);
     masterDev.setIndex(masterIndex);
@@ -368,7 +368,7 @@
         retval = 1;
     }
 
-	return retval;
+    return retval;
 }
 
 /****************************************************************************/