[Boost-bugs] [Boost C++ Libraries] #3733: Detect platform to choose the conventional option for help

Subject: [Boost-bugs] [Boost C++ Libraries] #3733: Detect platform to choose the conventional option for help
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-08 15:09:01


#3733: Detect platform to choose the conventional option for help
--------------------------------+-------------------------------------------
 Reporter: hicham@… | Owner: vladimir_prus
     Type: Feature Requests | Status: new
Milestone: | Component: program_options
  Version: Boost 1.41.0 | Severity: Cosmetic
 Keywords: |
--------------------------------+-------------------------------------------
 on POSIX, the --help option is typically used for printing usage
 information.
 on Windows, the /? is the typical option for that.

 It would be cleaner if the user could check with some function whether the
 <help option> is set or not instead of explicitly checking for the "help"
 string
 {{{
    if (vm.count("help"))
 }}}

 to decide when to print usage information.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3733>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC