dcb: Remove unsupported command line arguments from getopt_long()

getopt_long() currently includes "c" and "n" in the short option string.
These probably slipped in as a cut'n'paste, and are not actually accepted.
Remove them.

Signed-off-by: Petr Machata <me@pmachata.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
Petr Machata 2020-12-11 00:02:15 +01:00 committed by David Ahern
parent 6e9bfdcdde
commit 7fe954ee34
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
while ((opt = getopt_long(argc, argv, "b:c::fhjnpvN:V",
while ((opt = getopt_long(argc, argv, "b:fhjpvN:V",
long_options, NULL)) >= 0) {
switch (opt) {