diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index 41c0e45df6..0b5e8ba974 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -136,13 +136,13 @@
systemd-analyze
OPTIONS
verify
- FILE
+ FILE
systemd-analyze
OPTIONS
security
- UNIT
+ UNIT
systemd-analyze
@@ -160,7 +160,7 @@
systemd-analyze
OPTIONS
fdstore
- UNIT
+ UNIT
systemd-analyze
@@ -839,7 +839,7 @@ alias.service:7: Unknown key name 'MysteryKey' in section 'Service', ignoring.
- systemd-analyze fdstore UNIT...
+ systemd-analyze fdstore UNIT...
Lists the current contents of the specified service unit's file descriptor store. This shows
names, inode types, device numbers, inode numbers, paths and open modes of the open file
@@ -868,7 +868,7 @@ stored sock 0:8 4213190 - socket:[4213190] ro
- systemd-analyze image-policy POLICY…
+ systemd-analyze image-policy POLICY…
This command analyzes the specified image policy string, as per
systemd.image-policy7. The
@@ -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..14458260c6 100644
--- a/src/analyze/analyze.c
+++ b/src/analyze/analyze.c
@@ -218,7 +218,7 @@ static int help(int argc, char *argv[], void *userdata) {
" dot [UNIT...] Output dependency graph in %s format\n"
" dump [PATTERN...] Output state serialization of service\n"
" manager\n"
- " cat-config Show configuration file and drop-ins\n"
+ " cat-config NAME|PATH... Show configuration file and drop-ins\n"
" unit-files List files and symlinks for units\n"
" unit-paths List load directories for units\n"
" exit-status [STATUS...] List exit status definitions\n"
@@ -238,6 +238,7 @@ static int help(int argc, char *argv[], void *userdata) {
" inspect-elf FILE... Parse and print ELF package metadata\n"
" malloc [D-BUS SERVICE...] Dump malloc stats of a D-Bus service\n"
" fdstore SERVICE... Show file descriptor store contents of service\n"
+ " image-policy POLICY... Analyze image policy string\n"
" pcrs [PCR...] Show TPM2 PCRs and their names\n"
" srk > FILE Write TPM2 SRK to stdout\n"
"\nOptions:\n"
@@ -362,7 +363,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':