On Sun, May 03, 2015 at 02:55:58PM +0200, [email protected] wrote:
> + self.settings.string(
> + ['debootstrap-opts'],
> + 'pass additional options to debootstrap (check debootstrap
> --help for valid options)')
I would make this a self.settings.string_list type option instead.
This is an option type provided by cliapp that means the value is a
list of strings. Thus
vmdebootstrap --debootstrap-option --foo --debootstrap-option --bar
would result in a value ["--foo", "--bar"], rather than having the
program have to parse the option value itself. This also means that
the cliapp configuration file parsing can handle this automatically.
--
Happiness is a tested backup.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]