summaryrefslogtreecommitdiff
path: root/src/OptionParser.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-04-22 23:38:59 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-04-22 23:38:59 +0900
commit2c0476e6d9033cdf58b9899b165bbddd974e88db (patch)
tree1476e6d5af13b4e90010a6011f5214273d248155 /src/OptionParser.h
parent211c4ea9f45db6482f76ccc9945ee19fc78f7e9d (diff)
Erase user and password specified in command-line from argv.
The user and password is masked with '*'.
Diffstat (limited to 'src/OptionParser.h')
-rw-r--r--src/OptionParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OptionParser.h b/src/OptionParser.h
index d06e01d8..0c767229 100644
--- a/src/OptionParser.h
+++ b/src/OptionParser.h
@@ -69,7 +69,7 @@ public:
// NAME=VALUE format. Non-option strings are stored in nonopts.
// Throws Exception when an unrecognized option is found.
void parseArg(std::ostream& out, std::vector<std::string>& nonopts,
- int argc, char* const argv[]);
+ int argc, char* argv[]);
void parse(Option& option, std::istream& ios);