Better reporting of boost::program_options errors #225

Closed
rcurtin opened this Issue Dec 29, 2014 · 1 comment

Projects

None yet

1 participant

@rcurtin
Member
rcurtin commented Dec 29, 2014

Reported by rcurtin on 8 Dec 42439260 13:33 UTC
Especially the simple ones. Look:

$ bin/lars -h -h
[FATAL] multiple_occurrences

It's very easy to specify -v (or some other flag) twice. CLI should ignore that error for duplicate flags, and produce nicer errors for non-flag options.

@rcurtin rcurtin self-assigned this Dec 29, 2014
@rcurtin rcurtin added this to the mlpack 1.0.2 milestone Dec 29, 2014
@rcurtin rcurtin closed this Dec 29, 2014
@rcurtin
Member
rcurtin commented Dec 30, 2014

Commented by trironk3 on 16 Mar 42600383 16:43 UTC
Resolved in revision 13317.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment