Ticket #88 (closed defect: fixed)
tools' error output for invalid arg is not helpful
| Reported by: | tedp | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Avahi 0.6.18 | Component: | avahi-utils |
| Keywords: | Cc: |
Description
When an invalid argument is provided to avahi tools, the particular argument that is invalid is not displayed. For example:
$ avahi-browse --foo Invalid command line argument: ?
The following tools are affected:
- avahi-resolve
- avahi-browse
- avahi-set-host-name
- avahi-publish
- avahi-daemon
- avahi-autoipd
- avahi-dnsconfd
The simplest solution is to enable the 'opterr' option (default is on) and let getopt provide an error message. A short patch making this change will be attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

