Opened 14 years ago

Closed 14 years ago

#481 closed enhancement (fixed)

calling functions in Option before Commandline has been parsed should throw

Reported by: Peter Owned by: Peter
Priority: trivial Milestone: yat 0.5
Component: utility Version: trunk
Keywords: Cc:


Some functions in Option and daughter classes dont make sense prior Commandline has been parsed, e.g., Option::present() or OptionArg::value().

To avoid that kind of invalid usage, we should throw an exception.

Change History (2)

comment:1 Changed 14 years ago by Peter

Milestone: yat 0.x+yat 0.5
Owner: changed from Jari Häkkinen to Peter
Status: newassigned

comment:2 Changed 14 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1741]) fixes #481

Note: See TracTickets for help on using tickets.