Re: Passing unused opts to every command considered harmful
From: Steve Sisak <sgs_at_codewell.com>
Date: 2007-12-17 19:11:29 CET
At 9:10 AM -0800 12/17/07, David Glasser wrote:
I can see the logic of argument consistency across commands -- maybe
For instance (text stolen from "svn help status"):
Valid options:
Ignored options (accepted but not currently implemented):
I can see that, for consistency, every command ought to be able to
I can also seen some very options commands that ought to apply
-v [--verbose] : print extra information
Also, --non-interactive should be a constraint and generate an error
-------------------
It also might make sense to have the (documentation) concept of
Then the help text and documentation could list 3 sections:
Command options:
Common Options:
Ignored Options:
By having common options all documented in one place, it would cut
Just a couple thoughts.
HTH,
-Steve
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.