From 6c7a6519dd7bb15a5d37fe99940e06e6e8eb710d Mon Sep 17 00:00:00 2001 From: Matthew Leeds Date: Tue, 8 Aug 2017 14:55:23 -0700 Subject: [PATCH] man: Update ostree-refs manpage Update the ostree-refs manpage to document recently added options, and fix some minor mistakes. Closes: #1068 Approved by: cgwalters --- man/ostree-refs.xml | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/man/ostree-refs.xml b/man/ostree-refs.xml index 726a94ac..26a3203d 100644 --- a/man/ostree-refs.xml +++ b/man/ostree-refs.xml @@ -51,13 +51,17 @@ Boston, MA 02111-1307, USA. ostree refs OPTIONS PREFIX + + ostree refs EXISTING --create=NEWREF + Description - Lists all refs available on the host. If specified, PREFIX assigns the refspec prefix; default prefix is null, which lists all refs. + Lists all refs available on the host. If specified, PREFIX assigns the refspec prefix; default + prefix is null, which lists all refs. This command can also be used to create or delete refs. @@ -75,6 +79,16 @@ Boston, MA 02111-1307, USA. printed in full, rather than truncated. + + + =NEWREF + + + Create a ref pointing to the commit EXISTING. NEWREF must not already exist, and EXISTING + must be an existing commit. More than one ref can point to the same commit. + + + @@ -85,7 +99,15 @@ Boston, MA 02111-1307, USA. - + , + + + If used with , create an alias. Otherwise just list aliases. + + + + + , Enable interactions with refs using the combination of their @@ -99,8 +121,7 @@ Boston, MA 02111-1307, USA. is created. (This is an abuse of the refspec syntax.) When deleting refs, all refs whose collection ID equals - the value of the argument are - deleted. + PREFIX are deleted.