summaryrefslogtreecommitdiffstats
path: root/src/analyze
diff options
context:
space:
mode:
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>2024-01-09 10:11:59 +0100
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>2024-01-09 10:11:59 +0100
commitca029693790434f0baf51f3a9086d9bd6b7c86da (patch)
tree8d097ae6147fa7c467f2aa794a1bde5c4281d4aa /src/analyze
parentanalyze: fix -q option (diff)
downloadsystemd-ca029693790434f0baf51f3a9086d9bd6b7c86da.tar.xz
systemd-ca029693790434f0baf51f3a9086d9bd6b7c86da.zip
analyze: man and --help fixes
man: - `verify` requires an argument - `security` does not require an argument - `fdstore` requires an argument - `image-policy` requires an argument `--help` text: - missing `image-policy` command - `cat-config` requires NAME or PATH
Diffstat (limited to 'src/analyze')
-rw-r--r--src/analyze/analyze.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c
index 5f4d663458..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"