public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] Fix: nm -U short flag erroneously consumes argument
@ 2023-12-01  9:53 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2023-12-01  9:53 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1089d2017c71f9bca6e0135a7a59700274d7cfaa

commit 1089d2017c71f9bca6e0135a7a59700274d7cfaa
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Dec 1 09:52:11 2023 +0000

    Fix: nm -U short flag erroneously consumes argument
    
      PR 31105
      * nm.c (main): Remove spurious colon after U in the call to getopt_long

Diff:
---
 binutils/nm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/binutils/nm.c b/binutils/nm.c
index e4c8036df1b..54ee8182b2e 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-01  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-01  9:53 [binutils-gdb] Fix: nm -U short flag erroneously consumes argument Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).