threads / patch / 4208

patch, 5 partsChange order of -m option to update-ref.

Subject: [PATCH 2/5] Change order of -m option to update-ref.

## tl;dr

One message between May 19, 2006 and May 19, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Shawn Pearce· May 19, 2006, 09:15 UTC · lore

The actual position doesn't matter but most people prefer to see options appear before the arguments.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
 Documentation/git-update-ref.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
75d5d46e9d911ab657af3c2eef9b585ac6a36b18
Show changes to Documentation/git-update-ref.txt +1 −1
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt
index dfbd886..e062030 100644
--- a/Documentation/git-update-ref.txt
+++ b/Documentation/git-update-ref.txt
@@ -7,7 +7,7 @@ git-update-ref - update the object name 
 
 SYNOPSIS
 --------
-'git-update-ref' <ref> <newvalue> [<oldvalue>] [-m <reason>]
+'git-update-ref' [-m <reason>] <ref> <newvalue> [<oldvalue>]
 
 DESCRIPTION
 -----------
-- 
1.3.2.g7278

← back to recent threads