summaryrefslogtreecommitdiff
path: root/src/boot/bootctl.c
AgeCommit message (Collapse)Author
2014-08-03Unify parse_argv styleZbigniew Jędrzejewski-Szmek
getopt is usually good at printing out a nice error message when commandline options are invalid. It distinguishes between an unknown option and a known option with a missing arg. It is better to let it do its job and not use opterr=0 unless we actually want to suppress messages. So remove opterr=0 in the few places where it wasn't really useful. When an error in options is encountered, we should not print a lengthy help() and overwhelm the user, when we know precisely what is wrong with the commandline. In addition, since help() prints to stdout, it should not be used except when requested with -h or --help. Also, simplify things here and there.
2013-11-09bootctl: remove unused options from getopt_longThomas Hindoe Paaboel Andersen
2013-11-06clients: unify how we invoke getopt_long()Lennart Poettering
Among other things this makes sure we always expose a --version command and show it in the help texts.
2013-11-06bootctl: typo fix in help messageThomas Hindoe Paaboel Andersen
2013-03-29bootctl: fix help textKoen Kooi
It currently says 'time settings', change that to 'boot settings'.
2013-03-28bootctl: ESP --> PartitionKay Sievers
2013-03-28bootctl: Binary: --> File:Kay Sievers
2013-03-27bootctl: rename status output headerKay Sievers
2013-03-10bootctl: print Options only when foundKay Sievers
2013-03-10bootctl: print secure boot flagsKay Sievers
2013-02-17bootctl: show "n/a" for empty boot option labelsKay Sievers
2013-02-11bootctl: print partition uuids as /dev/disk/by-partuuid/...Kay Sievers
2013-02-11bootctl: add boot loader and firmware interface toolKay Sievers