From 6bf94ec2335cd34e6c0b729bc836388732621906 Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Mon, 23 May 2016 13:32:36 -0600 Subject: [PATCH] commit: Update manpage to reflect --editor Closes: #305 Approved by: cgwalters --- man/ostree-commit.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/man/ostree-commit.xml b/man/ostree-commit.xml index 00e20428..8f0037f6 100644 --- a/man/ostree-commit.xml +++ b/man/ostree-commit.xml @@ -57,7 +57,7 @@ Boston, MA 02111-1307, USA. Description - This allows you to commit changes to a branch. The specification of the branch is required. If no commit message is specified with then a text editor will be opened. The commit will be aborted if the commit subject is left empty. The command will print the checksum of a successful commit. + This allows you to commit changes to a branch. The specification of the branch is required. The command will print the checksum of a successful commit. @@ -68,7 +68,7 @@ Boston, MA 02111-1307, USA. , ="SUBJECT" - One line subject. + One line subject. (optional) @@ -76,7 +76,15 @@ Boston, MA 02111-1307, USA. , ="BODY" - Full description. + Full description. (optional) + + + + + , + + + Open a text editor for the commit description. It will use OSTREE_EDITOR, VISUAL, EDITOR, or vi, in descending order of preference. The commit will be aborted if the message is left empty. @@ -84,7 +92,7 @@ Boston, MA 02111-1307, USA. , ="BRANCH" - Branch. + Branch. Required, unless --orphan is given. @@ -219,7 +227,7 @@ Boston, MA 02111-1307, USA. - Create a commit without writing a ref + Create a commit without writing to a ref (branch)