diff options
author | Nicolas Boichat <drinkcat@google.com> | 2018-03-27 11:24:01 +0800 |
---|---|---|
committer | Nicolas Boichat <drinkcat@chromium.org> | 2018-04-23 08:07:27 +0800 |
commit | aacbcab66d6adc1e8e57b6cbd13b24fc1808de6a (patch) | |
tree | d363e97160fedebb03b59c5d1b1bd6aa7e6bedcd /man/systemd-hwdb.xml | |
parent | dd6f840e36a0beb6bb99e7a9e3037cfcb4b67876 (diff) | |
download | systemd-aacbcab66d6adc1e8e57b6cbd13b24fc1808de6a.tar.gz |
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/systemd-hwdb.xml')
-rw-r--r-- | man/systemd-hwdb.xml | 7 |
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> |