Flag poollist() (ippool -l) command line syntax errors.
This commit is contained in:
parent
015d7db6b6
commit
a0489e3eeb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319794
@ -700,8 +700,14 @@ poollist(argc, argv)
|
||||
case 'v' :
|
||||
opts |= OPT_VERBOSE;
|
||||
break;
|
||||
default :
|
||||
usage(argv[0]);
|
||||
break; /* keep compiler happy */
|
||||
}
|
||||
|
||||
if (argc - optind > 0)
|
||||
usage(argv[0]);
|
||||
|
||||
if (opts & OPT_DEBUG)
|
||||
fprintf(stderr, "poollist: opts = %#x\n", opts);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user