Mailing List Archive

[Bug 592] --help should be detected with higher priority.
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=592

Nigel Metheringham <nigel@exim.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |nigel@exim.org
Status|NEW |ASSIGNED




--- Comment #1 from Nigel Metheringham <nigel@exim.org> 2007-09-03 17:01:12 ---
--help is specially detected as the first option only (in general exim
does not take -- options). If it is seen then it is acted upon by
setting all arguments to zero, which if exim is called as "exim"
will force a usage message to be output.

However, if for example, it is called as mailq, ie
mailq --help

then a mailq operation is still performed.

This is strange. Unfortunately fixing it does require a little fiddling.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 592] --help should be detected with higher priority. [ In reply to ]
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=592

Nigel Metheringham <nigel@exim.org> changed:

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




--- Comment #2 from Nigel Metheringham <nigel@exim.org> 2007-09-04 09:18:13 ---
CVS commit by nm4:

NM/01
--help was not correctly handled if exim was invoked under an alias which
did not expect/require arguments.
Changed handling of --help to counter this.
Moved usage/help messages into exim_usage().
Fixes: bug #592

--- CVS commit summary ---
1.530 1.531 +4 -0 - exim/exim-doc/doc-txt/ChangeLog
1.57 1.58 +52 -12 - exim/exim-src/src/exim.c


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##