mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-06 00:58:44 +03:00
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
|
||||
--refs-only
|
||||
--static-deltas-only
|
||||
--commit-only
|
||||
"
|
||||
|
||||
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>.
|
||||
</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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user