[GRASS5] overwriting

Eric G . Miller egm2 at jps.net
Wed Dec 20 21:03:45 EST 2000


On Thu, Dec 21, 2000 at 08:36:25AM +0700, Justin Hickey wrote:
> This is the ideal solution from a software engineering point of view.
> That is, always ask for overwriting, but allow a command line option to
> override it. Of course it would be great if we could find a value for
> the option that can be consistently used for all the modules. But I have
> no idea if that is possible though. I don't know how the command line
> parser interprets flags, but if it can only accept single character
> flags, then I would say it would be worth changing it to accept multiple
> character flags just to implement this feature. Then we could choose
> whatever flag we want like -ow or even -overwrite. I'm willing to change
> the command line parser if we agree to this and if the parser needs to
> be changed.

Well, I think a flag like '-f', is pretty standard (as in "rm -rf /" !).
I don't think any change in parser behavior is required.  Modules can
handle this pretty easily.

-- 
Eric G. Miller <egm2 at jps.net>

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list