[Buildroot] [PATCH 1/1] autobuild-run: show options along with their defaults
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon May 4 20:16:48 UTC 2015
Dear André Erdmann,
On Fri, 1 May 2015 17:58:51 +0200, André Erdmann wrote:
> Currently, the default values for options are printed at the end of the help
> message, so there is a visual distance between the "--<option>" help and its
> default value that increases with every newly introduced option.
>
> Move them closer together by means of str-dict formatting, "%(key)s".
>
> "[default: ]" cannot be used as it gets parsed by docopt,
> using "Defaults to ...", "Not set by default", ... phrases instead.
>
> Signed-off-by: André Erdmann <dywi at mailerd.de>
> ---
> scripts/autobuild-run | 15 +++++++++------
> 1 file changed, 9 insertions(+), 6 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list