mirror of
https://github.com/systemd/systemd.git
synced 2025-03-30 10:50:15 +03:00
analyze: fix -q option
Follow-up to 52117f5af831a816c47ceebb83c8244ee93b72fe
This commit is contained in:
parent
d7d6195953
commit
7c0e0bbb6b
@ -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'
|
||||
)
|
||||
|
||||
|
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user