Opened 14 years ago

Closed 14 years ago

#414 closed defect (fixed)

Commandline doesnt warn when adding two options with same name

Reported by: Peter Owned by: Jari Häkkinen
Priority: minor Milestone: yat 0.5
Component: utility Version: trunk
Keywords: Cc:


I had the following code

yat::utility::OptionInFile cmd_input(cmd, "i,input", "file with info", true);
yat::utility::OptionInFile cmd_info(cmd, "i,info", "file with info", true);

in which I think Commandline should throw an exception.

Change History (1)

comment:1 Changed 14 years ago by Peter

Resolution: fixed
Status: newclosed

(In [1426]) fixes #414

Note: See TracTickets for help on using tickets.