Menu

#1 Help option doesn't work well with manditory options

open
Tim Wood
5
2007-04-08
2006-10-06
Tim Wood
No

Specifying a "--help" type options doesn't fit in well
with the idea of manditory options, since if --help is
specified a exception is throw complaining about the
lack of the manditory options before the developer can
check for the presence of the --help options.

Discussion

  • Tim Wood

    Tim Wood - 2006-10-23

    Logged In: YES
    user_id=1508260

    Could allow short option specification style as string (like
    getopts). Then allow help option to be specified as
    interface level annotation.

     
  • Tim Wood

    Tim Wood - 2007-04-08
    • assigned_to: nobody --> flamingpenguin
     

Log in to post a comment.

MongoDB Logo MongoDB