Advertisement
Guest User

Untitled

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