From 467f1cca817022bd52d6e04968ac81c8614e89d2 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 10 May 2022 08:09:01 +0200 Subject: [PATCH] initctl: options alphabetically in usage text Signed-off-by: Joachim Wiberg --- README.md | 2 +- src/initctl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c1403e42..cb460b07 100644 --- a/README.md +++ b/README.md @@ -424,13 +424,13 @@ Options: -b, --batch Batch mode, no screen size probing -c, --create Create missing paths (and files) as needed -f, --force Ignore missing files and arguments, never prompt + -h, --help This help text -1, --once Only one lap in commands like 'top' -p, --plain Use plain table headings, no ctrl chars -q, --quiet Silent, only return status of command -t, --no-heading Skip table headings -v, --verbose Verbose output -V, --version Show program version - -h, --help This help text Commands: debug Toggle Finit (daemon) debug diff --git a/src/initctl.c b/src/initctl.c index 8967416b..94171f96 100644 --- a/src/initctl.c +++ b/src/initctl.c @@ -974,13 +974,13 @@ static int usage(int rc) " -b, --batch Batch mode, no screen size probing\n" " -c, --create Create missing paths (and files) as needed\n" " -f, --force Ignore missing files and arguments, never prompt\n" + " -h, --help This help text\n" " -1, --once Only one lap in commands like 'top'\n" " -p, --plain Use plain table headings, no ctrl chars\n" " -q, --quiet Silent, only return status of command\n" " -t, --no-heading Skip table headings\n" " -v, --verbose Verbose output\n" " -V, --version Show program version\n" - " -h, --help This help text\n" "\n" "Commands:\n" " debug Toggle Finit (daemon) debug\n"