X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=generate-cmdlist.sh;h=a2913c2a2cd1ec158157ada3e2deb666892b734b;hb=fae09a8084c9b51632726523b477a78dd28d7d7e;hp=1ba27ecf9cd42d6ce86218fe4fdcb8761cf65dd7;hpb=8256c6e0107a51b2714f2e068b693025e4ddcae8;p=git.git diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh index 1ba27ecf9..a2913c2a2 100755 --- a/generate-cmdlist.sh +++ b/generate-cmdlist.sh @@ -9,29 +9,8 @@ struct cmdname_help static struct cmdname_help common_cmds[] = {" -sort <<\EOF | -add -bisect -branch -checkout -clone -commit -diff -fetch -grep -init -log -merge -mv -pull -push -rebase -reset -rm -show -status -tag -EOF +sed -n -e 's/^git-\([^ ]*\)[ ].* common.*/\1/p' command-list.txt | +sort | while read cmd do sed -n '