diff options
author | Kay Sievers <kay@vrfy.org> | 2013-02-20 01:53:02 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-02-20 01:53:02 +0100 |
commit | 22aec8f754bab0b0bcb907490c932d3e073325b7 (patch) | |
tree | 07f80863387cad7ce8759ffba50161e3e0c05f34 | |
parent | 5bead7d27c80d8790134daf56256a4db51fb822c (diff) |
setup: add "status" to help text
-rw-r--r-- | src/setup/setup.c | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/src/setup/setup.c b/src/setup/setup.c index ef4c865..7d23422 100644 --- a/src/setup/setup.c +++ b/src/setup/setup.c @@ -51,23 +51,6 @@ static inline const char *strna(const char *s) { return isempty(s) ? "n/a" : s; } -static int help(void) { - printf("%s [COMMAND] [OPTIONS...]\n" - "\n" - "Install, update or remove the Gummiboot EFI boot loader.\n\n" - " -h --help Show this help\n" - " --path=PATH Path to the EFI System Partition (ESP)\n" - " --no-variables Don't touch EFI variables\n" - "\n" - "Comands:\n" - " install Install Gummiboot to the ESP and EFI variables\n" - " update Update Gummiboot in the ESP and EFI variables\n" - " remove Remove Gummiboot from the ESP and EFI variables\n", - program_invocation_short_name); - - return 0; -} - static int uuid_parse(const char *s, uint8_t uuid[16]) { int u[16]; int i; @@ -1257,6 +1240,24 @@ static int install_loader_config(const char *esp_path) { return 0; } +static int help(void) { + printf("%s [COMMAND] [OPTIONS...]\n" + "\n" + "Install, update or remove the Gummiboot EFI boot loader.\n\n" + " -h --help Show this help\n" + " --path=PATH Path to the EFI System Partition (ESP)\n" + " --no-variables Don't touch EFI variables\n" + "\n" + "Comands:\n" + " status Show status of installed Gummiboot and EFI variables\n" + " install Install Gummiboot to the ESP and EFI variables\n" + " update Update Gummiboot in the ESP and EFI variables\n" + " remove Remove Gummiboot from the ESP and EFI variables\n", + program_invocation_short_name); + + return 0; +} + static const char *arg_path = NULL; static bool arg_touch_variables = true; |