Builder for live images based on Debian
Go to file
Lyndon Brown 6b7c8ed4bf frontend: properly handle option processing
this means that the usage goes from:
 lb {-h|--help|-u|--usage|-v|--version}
 lb COMMAND [OPTIONS]

to:
 lb {-h|--help|-u|--usage|-v|--version}
 lb [FRONTEND_OPTIONS] COMMAND [COMMAND_OPTIONS]

though it is probably not worth is to update the description in the
manpages...? hmm...

so for instance this matters for color control with --color|--no-color
(you already had full control via environment vars). previously you could
do `lb COMMAND --no-color` to turn off colour, only to find that output
at the frontend level was still coloured (the option is processed at the
command context level, not the frontend), so you might try to instead use
`lb --no-color COMMAND`, only to find that this was not supported. Well
now it is, and used at the frontend level will fully control colour output
(after the command is processed anyway).

the full set of common options are thus available (except --force) at the
frontend level, and thus for instance all Echo_*() helpers used in the
frontend will work correctly after args are processed.

furthermore usage like `lb --color --help` will actually work. (not that
color is used there, but this previously would have failed with the
frontend treating the `--color` argument as the command; that's the point!)

Gbp-Dch: Short
2020-04-23 16:29:00 +02:00
data/debian-cd We should add buster for release 2019-02-17 14:51:24 +00:00
debian autopkgtest: build kali image 2020-03-20 15:36:52 +00:00
examples amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
frontend frontend: properly handle option processing 2020-04-23 16:29:00 +02:00
functions frontend: properly handle option processing 2020-04-23 16:29:00 +02:00
manpages config: obsolete old --tasksel option 2020-04-23 15:46:06 +02:00
scripts frontend: properly handle option processing 2020-04-23 16:29:00 +02:00
share grub2|loopback: avoid empty submenu 2020-04-23 10:18:43 +02:00
COPYING Switching to GPL3+. 2011-03-09 18:22:29 +01:00
Makefile fix capitalisation of some output messages 2020-03-05 20:36:54 +00:00