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 <m...@pmachata.org>
---
 dcb/dcb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dcb/dcb.c b/dcb/dcb.c
index dc1e9fe04e22..217dd640d7e5 100644
--- a/dcb/dcb.c
+++ b/dcb/dcb.c
@@ -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) {
-- 
2.25.1

Reply via email to