diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-09 06:31:37 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-09 06:31:37 +0000 |
commit | cebfbf89367c745235b9a51ed85190480c8e6d7e (patch) | |
tree | 8ee042eb83ba1bf92f9291e216602f3453c2d40e /main/asterisk.c | |
parent | 0daeb6f1347f9e33c1184eb4278b43e4be312b2d (diff) |
fix "core show version" to reflect the new number of arguments for this
CLI command (issue #8316, kshumard)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47352 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 4ca646a55..b8a93e9ce 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, |