summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorGergely Nagy <algernon@balabit.hu>2012-05-16 18:11:27 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-16 18:51:26 +0200
commit807f46452202891731b2317ef9bc9a6bc7115f23 (patch)
treec203cb438ee9e049780a48c3b4ea0c00265ec6c9 /man
parent3ea6e73287921e1aa7f1173761cf522ae44e0977 (diff)
delta: Support filtering what type of deltas to show
Not everyone is interested in every kind of deltas (and some might even be interested knowing which files do not have overrides), so this here is an implementation of a --type=LIST... option for systemd-delta, that makes it possible to filter what subset of deltas we want. The available modifiers are masked, equivalent, redirected, overriden, and unchanged - they should be self explanatory, and the man page explains them in a little more detail anyway. As a side effect, in case of overriden files, the diff output was made optional. By default, everything is shown (with a diff, if appropriate) except for completely unchanged files. Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Diffstat (limited to 'man')
-rw-r--r--man/systemd-delta.xml60
1 files changed, 60 insertions, 0 deletions
diff --git a/man/systemd-delta.xml b/man/systemd-delta.xml
index 0e06b48fcc..03c7178d47 100644
--- a/man/systemd-delta.xml
+++ b/man/systemd-delta.xml
@@ -99,6 +99,66 @@
pager.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--type=</option></term>
+ <term><option>-t</option></term>
+
+ <listitem><para>When listing the
+ differences, only list those that are
+ asked for. The list itself is a
+ comma-separated list of desired
+ difference types.</para>
+
+ <para>Recognised types are:
+
+ <variablelist>
+ <varlistentry>
+ <term><varname>masked</varname></term>
+
+ <listitem><para>Show masked files</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>equivalent</varname></term>
+
+ <listitem><para>Show overriden
+ files that while overriden, do
+ not differ in content.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>redirected</varname></term>
+
+ <listitem><para>Show files that
+ are redirected to another.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>overriden</varname></term>
+
+ <listitem><para>Show overriden,
+ and changed files.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>unchanged</varname></term>
+
+ <listitem><para>Show unmodified
+ files too.</para></listitem>
+ </varlistentry>
+ </variablelist>
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--diff=</option></term>
+
+ <listitem><para>When showing modified
+ files, when a file is overriden show a
+ diff aswell. This option takes a
+ boolean argument.</para></listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>