[issue801] grml-debootstrap parameter handling

Tong Sun bts at bts.grml.org
Fri Jan 15 17:47:36 CET 2010


New submission from Tong Sun <suntong001 at gmail.com>:

Referring to "Remove duplicate : in getopt definition."
http://git.grml.org/?p=grml-debootstrap.git;a=commit;h=30d47e014a7ce7a0f48e21a8d27420ba28fe8082

When grml-debootstrap parameter handling was first fully implemented, the 
"duplicated" : in getopt definition worked follows.

- they are switches with *optional* parameters
- their corresponding configuration variable values are set to off in
/etc/debootstrap/config
- this means that the --packages, --debconf features are off by default unless
turned on on the commandline, using  --packages, or --debconf (without the
optional parameters)
- if optional parameters are giving on the commandline, eg
--debconf=/some/file/else.conf, the given file is used (eg, as the pre-seed db
file) instead of the default one.

This gives the maximum flexibility. I hope you can agree with it as well. 

thanks

----------
messages: 2835
nosy: suntong
priority: bug
status: unread
title: grml-debootstrap parameter handling

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue801>
_____________________________________


More information about the Bugs-changes mailing list