]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix: nm -U short flag erroneously consumes argument
authorNick Clifton <nickc@redhat.com>
Fri, 1 Dec 2023 09:52:11 +0000 (09:52 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 1 Dec 2023 09:52:11 +0000 (09:52 +0000)
  PR 31105
  * nm.c (main): Remove spurious colon after U in the call to getopt_long

binutils/nm.c

index e4c8036df1bb8a4f4a948f99ca7ce461522a0b18..54ee8182b2eb5683a54add749c8b67996203701f 100644 (file)
@@ -1978,7 +1978,7 @@ main (int argc, char **argv)
     fatal (_("fatal error: libbfd ABI mismatch"));
   set_default_bfd_target ();
 
-  while ((c = getopt_long (argc, argv, "aABCDef:gHhjJlnopPrSst:uU:vVvWX:",
+  while ((c = getopt_long (argc, argv, "aABCDef:gHhjJlnopPrSst:uUvVvWX:",
                           long_options, (int *) 0)) != EOF)
     {
       switch (c)