cg-help: dynamically list commands
PATCH 1/1 cg-help: dynamically list commands
Use code from the make-cogito-asciidoc script to make the command listing dynamic and hopefully always up-to-date by grepping the USAGE strings.
Signed-off-by Jonas Fonseca <[email protected]>
---
cg-commit | 2 +- cg-help | 47 +++++++++++++++++++++-------------------------- 2 files changed, 22 insertions(+), 27 deletions(-)
cg-commit +1 -1
@@ -72,7 +72,7 @@ # EDITOR:: # The editor used for entering revision log information. -USAGE="cg-commit [-mMESSAGE]... [-C] [-e | -E] [FILE]..." +USAGE="cg-commit [-mMESSAGE]... [-C] [-e | -E] [FILE]... < MESSAGE" . ${COGITO_LIB}cg-Xlib
cg-help +21 -26
61 lines not on this page · raw message
Signature · 1 line
Jonas Fonseca