Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From d7a1c206fe474766a45fab04a79696d3607200a6 Mon Sep 17 00:00:00 2001
- From: A.R. iceslice <iceslice3000@gmail.com>
- Date: Fri, 22 Oct 2010 19:33:20 +0600
- Subject: [PATCH] Short form for config-dir removed.
- ---
- src/main.cpp | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
- diff --git a/src/main.cpp b/src/main.cpp
- index 41f1c3d..bc1c231 100644
- --- a/src/main.cpp
- +++ b/src/main.cpp
- @@ -47,7 +47,7 @@ static void printHelp()
- << _("Options:") << endl
- << _(" -v --version : Display the version") << endl
- << _(" -h --help : Display this help") << endl
- - << _(" -C --config-dir : Configuration directory to use") << endl
- + << _(" --config-dir : Configuration directory to use") << endl
- << _(" -U --username : Login with this username") << endl
- << _(" -P --password : Login with this password") << endl
- << _(" -c --character : Login with this character") << endl
- @@ -74,7 +74,7 @@ static void printVersion()
- static void parseOptions(int argc, char *argv[], Client::Options &options)
- {
- - const char *optstring = "hvud:U:P:Dc:s:p:C:";
- + const char *optstring = "hvud:U:P:Dc:s:p:";
- const struct option long_options[] = {
- { "config-dir", required_argument, 0, 'C' },
- --
- 1.6.5.1.1367.gcd48
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement