From: Russell Bryant Date: Thu, 9 Nov 2006 06:31:37 +0000 (+0000) Subject: fix "core show version" to reflect the new number of arguments for this X-Git-Tag: 1.4.0-beta4~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15ba13f1ec15ae3af7899c7adf08ac88a23d1db1;p=thirdparty%2Fasterisk.git fix "core show version" to reflect the new number of arguments for this CLI command (issue #8316, kshumard) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47352 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/asterisk.c b/main/asterisk.c index 4ca646a558..b8a93e9ce1 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -1372,7 +1372,7 @@ static char version_help[] = static int handle_version(int fd, int argc, char *argv[]) { - if (argc != 2) + if (argc != 3) return RESULT_SHOWUSAGE; ast_cli(fd, "Asterisk %s built by %s @ %s on a %s running %s on %s\n", ASTERISK_VERSION, ast_build_user, ast_build_hostname,