On Wed, Jul 31, 2013 at 8:04 AM, Christopher Sean Morrison <[email protected]> wrote: ... > Related effort in this area, Carl Moore has been working on options as well > now (for many months). His focus of late has been going through all commands > to make sure they all provide help options consistently. This required changing some tools that ... > His work raises another potential exception to a multiple-character rule (or > at least it's something worth discussing) where he's currently making both -? > and -h provide help/usage. Presently, they return the same information, but > the long-term intent is to make them return *different* levels/types of help > information.
Can we decide on that now? Let one option (or no options where feasible) be a one liner and one be extended. Take, for example, the current usage in program 'fix_polysolids' (with either '-h' or '-?' or no options): <stdout> Usage: fix_polysolids [-v] [-xX DEBUG_FLAG] < brlcad_db.g > new_db.g Options: v - verbose x - librt debug flag X - nmg debug flag </stdout> Let 'fix_polysolids -?' (or no options) be: <stdout> Usage: fix_polysolids [-v] [-h] [-xX DEBUG_FLAG] < brlcad_db.g > new_db.g </stdout> and let 'fix_polysolids -h' be: <stdout> Usage: fix_polysolids [-v] [-h] [-xX DEBUG_FLAG] < brlcad_db.g > new_db.g Options: v - verbose x - librt debug flag X - nmg debug flag </stdout> Best, -Tom ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
