diff options
author | Antonio Alvarez Feijoo <antonio.feijoo@suse.com> | 2024-01-09 10:11:59 +0100 |
---|---|---|
committer | Antonio Alvarez Feijoo <antonio.feijoo@suse.com> | 2024-01-09 10:11:59 +0100 |
commit | ca029693790434f0baf51f3a9086d9bd6b7c86da (patch) | |
tree | 8d097ae6147fa7c467f2aa794a1bde5c4281d4aa /src/analyze | |
parent | analyze: fix -q option (diff) | |
download | systemd-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.c | 3 |
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" |