summaryrefslogtreecommitdiff
path: root/man/ostree-prune.xml
diff options
context:
space:
mode:
authorSaqib Ali <saqali@redhat.com>2022-02-08 09:08:44 -0500
committerSaqib Ali <saqali@redhat.com>2022-02-25 18:32:25 -0500
commitce44b1907e6ef68dec4f80859e799891bfec2be4 (patch)
tree32677923335aedf177ed843e79ace538529065d0 /man/ostree-prune.xml
parent725d50a3b53de47deef53a7c9120d304cb9a625a (diff)
downloadostree-ce44b1907e6ef68dec4f80859e799891bfec2be4.tar.gz
man/prune, bash: Add --commit-only flag for ostree prune
Update the man page and the auto-complete script to include the --commit-only flag
Diffstat (limited to 'man/ostree-prune.xml')
-rw-r--r--man/ostree-prune.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/ostree-prune.xml b/man/ostree-prune.xml
index e7e028ab..341ac7fb 100644
--- a/man/ostree-prune.xml
+++ b/man/ostree-prune.xml
@@ -120,6 +120,17 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
<option>--delete-commit</option>.
</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><option>--commit-only</option></term>
+
+ <listitem><para>
+ Only traverse and delete commit objects. This leaves orphaned meta and
+ content objects, which can be cleaned up with another prune invocation.
+ One may want to use this option to cheaply delete multiple commits,
+ and then clean up with a more expensive prune at the end.
+ </para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>