STR-172: Improve command-line argument handling strategies
Requirements:
* Use dynamic rules for options, argument options, and arguments.
* Support options, argument options, non-option argumentsCool to have:
Submitted on 25 September 2004 at 00:02
* Should provide support for ‘pretty’ help (separate left and right column)
* Conform to the Utility Argument Syntax in the Single Unix Specification. ( http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html )
* Support the GNU extensions (Program Argument Syntax) ( http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html )
* Support single hyphen non-option argument (usually stdin/stdout)
Issue Log
STR-172, martin:
Maybe this mechanism should not be designed to be used by hand: there is a strong case for using a more declarative description of command-line arguments (DocBook, Niels’ work on XTC) and deriving the actual implementation from this. Now the XML tools are in StrategoXT, this shouldn’t be a big problem.
STR-172, martin:
Requires more thinking about a tool specification. Also, we must fix compiler issues first.
Log in to post comments