public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/19606] Need better error message for invalid options
  2016-01-01  0:00 [Bug default/19606] New: Need better error message for invalid options michi.henning at canonical dot com
  2016-01-01  0:00 ` [Bug default/19606] " dodji at redhat dot com
  2016-01-01  0:00 ` dodji at redhat dot com
@ 2016-01-01  0:00 ` michi.henning at canonical dot com
  2 siblings, 0 replies; 4+ messages in thread
From: michi.henning at canonical dot com @ 2016-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=19606

--- Comment #1 from Michi Henning <michi.henning at canonical dot com> ---
One more thing:

Prefixing error messages such as this with the program name "abidiff: " would
be good. When I'm looking through a large build/test log, without the program
name, it can be difficult to even figure out what part of the build spat out
the message.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug default/19606] Need better error message for invalid options
  2016-01-01  0:00 [Bug default/19606] New: Need better error message for invalid options michi.henning at canonical dot com
  2016-01-01  0:00 ` [Bug default/19606] " dodji at redhat dot com
@ 2016-01-01  0:00 ` dodji at redhat dot com
  2016-01-01  0:00 ` michi.henning at canonical dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dodji at redhat dot com @ 2016-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=19606

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from dodji at redhat dot com ---
This should be fixed in the master branch of the git repository, by commit
https://sourceware.org/git/gitweb.cgi?p=libabigail.git;a=commit;h=5c07fdcc2e02e328920d1ab5c399d8027bf7bd6c.

FWIW, here is what I am getting on the command line you typed in your first
comment:

$ abidiff --changed-funcions dump1 dump2
abidiff: unrecognized option: --changed-funcions
try the --help option for more information
$ 

In subsequent commits in the master branch, I extend this change to the other
libabigail tools.

Thanks for taking time to file this problem report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug default/19606] New: Need better error message for invalid options
@ 2016-01-01  0:00 michi.henning at canonical dot com
  2016-01-01  0:00 ` [Bug default/19606] " dodji at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: michi.henning at canonical dot com @ 2016-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=19606

            Bug ID: 19606
           Summary: Need better error message for invalid options
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: michi.henning at canonical dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

$ abidiff --changed-funcions dump1 dump2
unrecognized option
try the --help option for more information


There is a typo in the option name.

It would be nice if abidiff (and other tools) were to show the offending
option. If there are several, it's tedious to have to figure out which one has
the typo. That's especially true if the options aren't visible directly, such
as when a script is used to cobble together the command line.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug default/19606] Need better error message for invalid options
  2016-01-01  0:00 [Bug default/19606] New: Need better error message for invalid options michi.henning at canonical dot com
@ 2016-01-01  0:00 ` dodji at redhat dot com
  2016-01-01  0:00 ` dodji at redhat dot com
  2016-01-01  0:00 ` michi.henning at canonical dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dodji at redhat dot com @ 2016-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=19606

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-12 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-01  0:00 [Bug default/19606] New: Need better error message for invalid options michi.henning at canonical dot com
2016-01-01  0:00 ` [Bug default/19606] " dodji at redhat dot com
2016-01-01  0:00 ` dodji at redhat dot com
2016-01-01  0:00 ` michi.henning at canonical dot com

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