]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
do help on remaining arguments
authorAlan T. DeKok <aland@freeradius.org>
Thu, 28 Jun 2018 00:42:00 +0000 (20:42 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 28 Jun 2018 00:42:00 +0000 (20:42 -0400)
src/main/radmin.c

index ed54921decdf0468be9156fe330ce40a476e2f54..f907faf3486e3fbaaa8b215cfe0e1a79e0449809 100644 (file)
@@ -192,7 +192,7 @@ static int cmd_help(FILE *fp, UNUSED void *ctx, int argc, char const *argv[])
                return 0;
        }
 
-       help = fr_command_help(radmin_cmd, argc - 1, &argv[1]);
+       help = fr_command_help(radmin_cmd, argc, argv);
        if (help) {
                fprintf(fp, "%s\n", help);
                return 0;