Opened 12 years ago
Closed 12 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: |
Description
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.
Note: See
TracTickets for help on using
tickets.
(In [1426]) fixes #414