diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml index 41c0e45df6..3f6f4d3d9d 100644 --- a/man/systemd-analyze.xml +++ b/man/systemd-analyze.xml @@ -1513,6 +1513,7 @@ x86-64 native + Suppress hints and other non-essential output. diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze index d27a642220..00cb478688 100644 --- a/shell-completion/bash/systemd-analyze +++ b/shell-completion/bash/systemd-analyze @@ -61,7 +61,7 @@ _systemd_analyze() { local -A OPTS=( [STANDALONE]='-h --help --version --system --user --global --order --require --no-pager - --man=no --generators=yes --quiet' + --man=no --generators=yes -q --quiet' [ARG]='-H --host -M --machine --fuzz --from-pattern --to-pattern --root' ) diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 6edc412e75..5f4d663458 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -362,7 +362,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argc >= 0); assert(argv); - while ((c = getopt_long(argc, argv, "hH:M:U:", options, NULL)) >= 0) + while ((c = getopt_long(argc, argv, "hH:M:U:q", options, NULL)) >= 0) switch (c) { case 'h':