Opened 13 years ago

Closed 12 years ago

#471 closed enhancement (fixed)

Always detect `--help` option

Reported by: Jari Häkkinen Owned by: Peter Johansson
Priority: major Milestone: svndigest 0.10
Component: core Version: trunk
Keywords: Cc:

Description

First a few example command lines. --anchor_format does not exist, I simply made a guess.

svndigest --anchor_format=null

svndigest --anchor_format=null --help

svndigest --help --anchor_format=null

Obviously the first line above fails but so do the second line. The third line will go through and help information is displayed. I think the second line should also be accepted and help information should be displayed. If I get an invalid argument message I usually add --help to my command line without change anything else. I read the help and correct my mistake.

Change option parsing to accept --help irrespective order and invalid arguments.

Change History (3)

comment:1 Changed 13 years ago by Peter Johansson

opened a ticket for this in yat: http://dev.thep.lu.se/yat/ticket/637

comment:2 Changed 12 years ago by Peter Johansson

Milestone: svndigest 0.x+svndigest 0.10
Owner: changed from Jari Häkkinen to Peter Johansson
Status: newassigned

comment:3 Changed 12 years ago by Peter Johansson

Resolution: fixed
Status: assignedclosed

(In [1351]) update to latest libyat. closes #471

Note: See TracTickets for help on using tickets.