Update documentation of asterisk -h (bug #1622)
authorMark Spencer <markster@digium.com>
Thu, 13 May 2004 19:57:45 +0000 (19:57 +0000)
committerMark Spencer <markster@digium.com>
Thu, 13 May 2004 19:57:45 +0000 (19:57 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2960 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c

index ec3f9f5..ea477ff 100755 (executable)
@@ -1368,21 +1368,22 @@ static void ast_remotecontrol(char * data)
 }
 
 static int show_cli_help(void) {
 }
 
 static int show_cli_help(void) {
-       printf("Asterisk " ASTERISK_VERSION ", Copyright (C) 2000-2002, Digium.\n");
+       printf("Asterisk " ASTERISK_VERSION ", Copyright (C) 2000-2004, Digium.\n");
        printf("Usage: asterisk [OPTIONS]\n");
        printf("Valid Options:\n");
        printf("Usage: asterisk [OPTIONS]\n");
        printf("Valid Options:\n");
-       printf("   -h           This help screen\n");
-       printf("   -r           Connect to Asterisk on this machine\n");
-       printf("   -f           Do not fork\n");
-       printf("   -n           Disable console colorization\n");
-       printf("   -p           Run as pseudo-realtime thread\n");
-       printf("   -v           Increase verbosity (multiple v's = more verbose)\n");
-       printf("   -q           Quiet mode (supress output)\n");
-       printf("   -g           Dump core in case of a crash\n");
-       printf("   -x <cmd>     Execute command <cmd> (only valid with -r)\n");
-       printf("   -i           Initializie crypto keys at startup\n");
-       printf("   -c           Provide console CLI\n");
-       printf("   -d           Enable extra debugging\n");
+       printf("   -C <configfile> Use an alternate configuration file\n");
+       printf("   -c              Provide console CLI\n");
+       printf("   -d              Enable extra debugging\n");
+       printf("   -f              Do not fork\n");
+       printf("   -g              Dump core in case of a crash\n");
+       printf("   -h              This help screen\n");
+       printf("   -i              Initializie crypto keys at startup\n");
+       printf("   -n              Disable console colorization\n");
+       printf("   -p              Run as pseudo-realtime thread\n");
+       printf("   -q              Quiet mode (supress output)\n");
+       printf("   -r              Connect to Asterisk on this machine\n");
+       printf("   -v              Increase verbosity (multiple v's = more verbose)\n");
+       printf("   -x <cmd>        Execute command <cmd> (only valid with -r)\n");
        printf("\n");
        return 0;
 }
        printf("\n");
        return 0;
 }