Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
generate-cmdlist.sh | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh
index 5450918..b45495d 100755
--- a/generate-cmdlist.sh
+++ b/generate-cmdlist.sh
@@ -9,7 +9,7 @@ struct cmdname_help
struct cmdname_help common_cmds[] = {"
-sort <<\EOF |
+cat <<\EOF |
add
apply
archive
@@ -41,6 +41,11 @@ verify-tag
EOF
while read cmd
do
+ [ -z "$cmd" ] && continue
+ if echo $cmd|grep -q '^G:'; then
+ echo ' {"'$(echo -n $cmd|sed 's/^G://')'",""},'
+ continue
+ fi
sed -n '
/NAME/,/git-'"$cmd"'/H
${
--
1.4.4.rc1.g9124
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html