mirror of
https://github.com/systemd/systemd
synced 2024-10-02 22:37:25 +00:00
Merge pull request #30842 from aafeijoo-suse/analyze-q-man-help-fix
analyze: minor fixes
This commit is contained in:
commit
c3f4d9f9a4
|
@ -136,13 +136,13 @@
|
|||
<command>systemd-analyze</command>
|
||||
<arg choice="opt" rep="repeat">OPTIONS</arg>
|
||||
<arg choice="plain">verify</arg>
|
||||
<arg choice="opt" rep="repeat"><replaceable>FILE</replaceable></arg>
|
||||
<arg choice="plain" rep="repeat"><replaceable>FILE</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
<cmdsynopsis>
|
||||
<command>systemd-analyze</command>
|
||||
<arg choice="opt" rep="repeat">OPTIONS</arg>
|
||||
<arg choice="plain">security</arg>
|
||||
<arg choice="plain" rep="repeat"><replaceable>UNIT</replaceable></arg>
|
||||
<arg choice="opt" rep="repeat"><replaceable>UNIT</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
<cmdsynopsis>
|
||||
<command>systemd-analyze</command>
|
||||
|
@ -160,7 +160,7 @@
|
|||
<command>systemd-analyze</command>
|
||||
<arg choice="opt" rep="repeat">OPTIONS</arg>
|
||||
<arg choice="plain">fdstore</arg>
|
||||
<arg choice="opt" rep="repeat"><replaceable>UNIT</replaceable></arg>
|
||||
<arg choice="plain" rep="repeat"><replaceable>UNIT</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
<cmdsynopsis>
|
||||
<command>systemd-analyze</command>
|
||||
|
@ -839,7 +839,7 @@ alias.service:7: Unknown key name 'MysteryKey' in section 'Service', ignoring.
|
|||
</refsect2>
|
||||
|
||||
<refsect2>
|
||||
<title><command>systemd-analyze fdstore <optional><replaceable>UNIT</replaceable>...</optional></command></title>
|
||||
<title><command>systemd-analyze fdstore <replaceable>UNIT</replaceable>...</command></title>
|
||||
|
||||
<para>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
|
|||
</refsect2>
|
||||
|
||||
<refsect2>
|
||||
<title><command>systemd-analyze image-policy <optional><replaceable>POLICY</replaceable>…</optional></command></title>
|
||||
<title><command>systemd-analyze image-policy <replaceable>POLICY</replaceable>…</command></title>
|
||||
|
||||
<para>This command analyzes the specified image policy string, as per
|
||||
<citerefentry><refentrytitle>systemd.image-policy</refentrytitle><manvolnum>7</manvolnum></citerefentry>. The
|
||||
|
@ -1513,6 +1513,7 @@ x86-64 native</programlisting>
|
|||
<xi:include href="user-system-options.xml" xpointer="machine" />
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-q</option></term>
|
||||
<term><option>--quiet</option></term>
|
||||
|
||||
<listitem><para>Suppress hints and other non-essential output.</para>
|
||||
|
|
|
@ -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'
|
||||
)
|
||||
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue