Fix: nm -U short flag erroneously consumes argument

PR 31105
  * nm.c (main): Remove spurious colon after U in the call to getopt_long
This commit is contained in:
Nick Clifton 2023-12-01 09:52:11 +00:00
parent 036cee3ad8
commit 1089d2017c

View 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)