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
This commit is contained in:
parent
725d50a3b5
commit
ce44b1907e
|
|
@ -805,6 +805,7 @@ _ostree_prune() {
|
||||||
--no-prune
|
--no-prune
|
||||||
--refs-only
|
--refs-only
|
||||||
--static-deltas-only
|
--static-deltas-only
|
||||||
|
--commit-only
|
||||||
"
|
"
|
||||||
|
|
||||||
local options_with_args="
|
local options_with_args="
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,17 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
|
||||||
<option>--delete-commit</option>.
|
<option>--delete-commit</option>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue