summaryrefslogtreecommitdiff
path: root/main/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/file.c')
-rw-r--r--main/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c
index a5a558c35..9315f225b 100644
--- a/main/file.c
+++ b/main/file.c
@@ -1120,7 +1120,7 @@ static int show_file_formats(int fd, int argc, char *argv[])
struct ast_format *f;
int count_fmt = 0;
- if (argc != 3)
+ if (argc != 4)
return RESULT_SHOWUSAGE;
ast_cli(fd, FORMAT, "Format", "Name", "Extensions");