summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-02 22:23:46 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-02 22:23:46 +0000
commit091e6e8bd9686f680fa72ab0844c7a2473233215 (patch)
tree765b5397b4d26e4b3105a8bd948275cc08c31513 /src
parent843ee9d4a269e7bbcafcd4dc04f7dc394b1f5a6c (diff)
Make sure usage lines up neatly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11465 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 6ff5bfb30..a1a5d2d03 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -465,8 +465,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
default:
/* Fall through to handle other weird values too */
printf("Unknown parameter '%s'\n", argv[optind-1]);
- printf("Usage: %s [--nofork] [--nolog] [--debug] [--logfile <filename>]\n\
- [--runasroot] [--version] [--config <config>] [--testsuite]\n", argv[0]);
+ printf("Usage: %s [--nofork] [--nolog] [--debug] [--logfile <filename>]\n%*s[--runasroot] [--version] [--config <config>] [--testsuite]\n", argv[0], 8+strlen(argv[0]), " ");
Exit(EXIT_STATUS_ARGV);
break;
}