-n (do nothing) is not a commmand option.

This commit is contained in:
Cy Schubert 2017-06-14 02:41:22 +00:00
parent e6b01ed73a
commit 40ad94e00a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319929

View File

@ -99,7 +99,7 @@ main(argc, argv)
assigndefined(getenv("IPPOOL_PREDEFINED"));
switch (getopt(argc, argv, "aAf:FlnrRsv"))
switch (getopt(argc, argv, "aAf:FlrRsv"))
{
case 'a' :
err = poolnodecommand(0, argc, argv);
@ -116,9 +116,6 @@ main(argc, argv)
case 'l' :
err = poollist(argc, argv);
break;
case 'n' :
opts |= OPT_DONOTHING|OPT_DONTOPEN;
break;
case 'r' :
err = poolnodecommand(1, argc, argv);
break;