[WIP/RFC 07/13] (trivial) git notes prune: Accept --verbose in addition to -v

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Johan Herland <johan@xxxxxxxxxxx>
---
 Documentation/git-notes.txt |    4 +++-
 builtin/notes.c             |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt
index 5540af5..ce0ea03 100644
--- a/Documentation/git-notes.txt
+++ b/Documentation/git-notes.txt
@@ -133,7 +133,9 @@ OPTIONS
 	would be removed.
 
 -v::
-	Report all object names whose notes are removed.
+--verbose::
+	When pruning notes, report all object names whose notes are
+	removed.
 
 
 DISCUSSION
diff --git a/builtin/notes.c b/builtin/notes.c
index f653f59..888a9e3 100644
--- a/builtin/notes.c
+++ b/builtin/notes.c
@@ -802,7 +802,7 @@ static int prune(int argc, const char **argv, const char *prefix)
 	int show_only = 0, verbose = 0;
 	struct option options[] = {
 		OPT_BOOLEAN('n', NULL, &show_only, "do not remove, show only"),
-		OPT_BOOLEAN('v', NULL, &verbose, "report pruned notes"),
+		OPT_BOOLEAN('v', "verbose", &verbose, "report pruned notes"),
 		OPT_END()
 	};
 
-- 
1.7.2.220.gea1d3

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]