From 091e6e8bd9686f680fa72ab0844c7a2473233215 Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 2 Aug 2009 22:23:46 +0000 Subject: Make sure usage lines up neatly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11465 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 ]\n\ - [--runasroot] [--version] [--config ] [--testsuite]\n", argv[0]); + printf("Usage: %s [--nofork] [--nolog] [--debug] [--logfile ]\n%*s[--runasroot] [--version] [--config ] [--testsuite]\n", argv[0], 8+strlen(argv[0]), " "); Exit(EXIT_STATUS_ARGV); break; } -- cgit v1.2.3