Suggestion for Autoproj.configuration_option

It would be less confusing if this function repeated the question (or options)
after the description, in order to show the available options close to the
input field.

What I'm seeing now is:

"""
Which prepackaged software (a.k.a. 'osdeps') should autoproj install
automatically (all, ruby, os, none) ?

...
Finally, OS dependencies can be installed by calling "autoproj osdeps"
with the corresponding option (--all, --ruby, --os or --none). [all]
"""
Which is a bit confusing. Better would be:

"""
Which prepackaged software (a.k.a. 'osdeps') should autoproj install
automatically (all, ruby, os, none) ?

...
Finally, OS dependencies can be installed by calling "autoproj osdeps"
with the corresponding option (--all, --ruby, --os or --none).

Please answer one of (all, ruby, os, none) ? [all]
"""

Just a suggestion.

Peter

Suggestion for Autoproj.configuration_option

On 12/13/2010 10:30 AM, Peter Soetens wrote:
> It would be less confusing if this function repeated the question (or options)
> after the description, in order to show the available options close to the
> input field.
>
> What I'm seeing now is:
>
> """
> Which prepackaged software (a.k.a. 'osdeps') should autoproj install
> automatically (all, ruby, os, none) ?
>
> ...
> Finally, OS dependencies can be installed by calling "autoproj osdeps"
> with the corresponding option (--all, --ruby, --os or --none). [all]
> """
> Which is a bit confusing. Better would be:
>
> """
> Which prepackaged software (a.k.a. 'osdeps') should autoproj install
> automatically (all, ruby, os, none) ?
>
> ...
> Finally, OS dependencies can be installed by calling "autoproj osdeps"
> with the corresponding option (--all, --ruby, --os or --none).
>
> Please answer one of (all, ruby, os, none) ? [all]
> """
This is definitely true for very long messages.

Repeating the options is simply a matter of adding a line to the long
option description. I'll do it.

Sylvan