threads / patch / 38318

v2show-branch: line-wrap for show-branch usage

Subject: [PATCH v2] show-branch: line-wrap for show-branch usage

## tl;dr

One message between Jan 8, 2015 and Jan 8, 2015. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alexander Kuleshov· Jan 8, 2015, 20:30 UTC · lore
Signed-off-by: 0xAX <kuleshovmail@gmail.com>
---
 builtin/show-branch.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Show changes to builtin/show-branch.c +5 −3
diff --git a/builtin/show-branch.c b/builtin/show-branch.c
index 270e39c..18245ad 100644
--- a/builtin/show-branch.c
+++ b/builtin/show-branch.c
@@ -6,9 +6,11 @@
 #include "parse-options.h"
 
 static const char* show_branch_usage[] = {
-    N_("git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order] [--current] [--color[=<when>] | --no-color] [--sparse] [--more=<n> | --list | --independent | --merge-base] [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]"),
-    N_("git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"),
-    NULL
+	N_("git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n"
+"                       [--current] [--color[=<when>] | --no-color] [--sparse] [--more=<n> | --list | --independent | --merge-base]\n"
+"                       [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]"),
+	N_("git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"),
+	NULL
 };
 
 static int showbranch_use_color = -1;
-- 
2.2.1.269.gb441311.dirty

← back to recent threads