summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2018-03-27 11:24:01 +0800
committerNicolas Boichat <drinkcat@chromium.org>2018-04-23 08:07:27 +0800
commitaacbcab66d6adc1e8e57b6cbd13b24fc1808de6a (patch)
treed363e97160fedebb03b59c5d1b1bd6aa7e6bedcd /man
parentdd6f840e36a0beb6bb99e7a9e3037cfcb4b67876 (diff)
downloadsystemd-aacbcab66d6adc1e8e57b6cbd13b24fc1808de6a.tar.gz
systemd-aacbcab66d6adc1e8e57b6cbd13b24fc1808de6a.tar.bz2
systemd-aacbcab66d6adc1e8e57b6cbd13b24fc1808de6a.zip
systemd-hwdb update: Return non-zero exit code on error when --strict is used
- Add a new flag --strict to tell systemd-hwdb to return a non-zero code on error. - Make systemd-hwdb update return an error when any parsing error occurs (only if strict flag is set).
Diffstat (limited to 'man')
-rw-r--r--man/systemd-hwdb.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/systemd-hwdb.xml b/man/systemd-hwdb.xml
index 2b58388cff..cd1df4a76e 100644
--- a/man/systemd-hwdb.xml
+++ b/man/systemd-hwdb.xml
@@ -70,6 +70,13 @@
<para>Alternate root path in the filesystem.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>-s</option></term>
+ <term><option>--strict</option></term>
+ <listitem>
+ <para>When updating, return non-zero exit value on any parsing error.</para>
+ </listitem>
+ </varlistentry>
<xi:include href="standard-options.xml" xpointer="help" />
</variablelist>