diff options
author | Jonathan Lebon <jonathan@jlebon.com> | 2020-03-18 10:32:52 -0400 |
---|---|---|
committer | Jonathan Lebon <jonathan@jlebon.com> | 2020-03-18 10:32:52 -0400 |
commit | f7a8617c0151392391e028de91c00d910f461806 (patch) | |
tree | 920ba6dc89e55926283be751bac3f18394db3627 /man | |
parent | f7582ce87e88a504ca9e4574c07c8ad535664ad8 (diff) | |
download | ostree-f7a8617c0151392391e028de91c00d910f461806.tar.gz |
bin/diff: Clarify documentation around REV and DIR syntax
Related: #2032
Diffstat (limited to 'man')
-rw-r--r-- | man/ostree-diff.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/ostree-diff.xml b/man/ostree-diff.xml index 10658cf2..0b7ac892 100644 --- a/man/ostree-diff.xml +++ b/man/ostree-diff.xml @@ -51,7 +51,7 @@ Boston, MA 02111-1307, USA. <refsynopsisdiv> <cmdsynopsis> - <command>ostree diff</command> <arg choice="opt" rep="repeat">OPTIONS</arg> <arg choice="req">REV</arg> <arg choice="req">TARGETDIR</arg> + <command>ostree diff</command> <arg choice="opt" rep="repeat">OPTIONS</arg> <arg choice="req">REV_OR_DIR</arg> <arg choice="req">REV_OR_DIR</arg> </cmdsynopsis> </refsynopsisdiv> @@ -59,7 +59,7 @@ Boston, MA 02111-1307, USA. <title>Description</title> <para> - Compare directory TARGETDIR against revision REV. Shows files and directories modified, added, and deleted. If there is a file in TARGETDIR not in REV, it will show with an "A" for "added". If a file in REV is not in TARGETDIR, it shows "D" for "deleted". "M" for "modified" will also show. + Compare a directory or revision against another directory or revision. If REV_OR_DIR starts with `/` or `./`, it is interpreted as a directory, otherwise a revision. Shows files and directories modified, added, and deleted. If there is a file in the second REV_OR_DIR not in the first, it will show with an "A" for "added". If a file in the first REV_OR_DIR is not in the second, it shows "D" for "deleted". "M" for "modified" will also show. </para> </refsect1> |