From bdb046acefea0e9d32defb132deb9669532608be Mon Sep 17 00:00:00 2001 From: Sebastien Rosset Date: Sun, 12 Sep 2021 21:33:15 -0700 Subject: [PATCH] fix help of 'super' and 'shell' commands (#194) * fix help of 'super' and 'shell' commands --- gita/__main__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gita/__main__.py b/gita/__main__.py index cfffc97..73e12fb 100644 --- a/gita/__main__.py +++ b/gita/__main__.py @@ -615,15 +615,15 @@ def main(argv=None): p_super = subparsers.add_parser( 'super', help='run any git command/alias', - description='Superman mode: delegate any git command/alias in specified or ' + description='Superman mode: delegate any git command/alias in specified repo(s), group(s), or ' 'all repo(s).\n' 'Examples:\n \t gita super myrepo1 commit -am "fix a bug"\n' '\t gita super repo1 repo2 repo3 checkout new-feature') p_super.add_argument( 'man', nargs=argparse.REMAINDER, - help="execute arbitrary git command/alias for specified or all repos\n" - "Example: gita super myrepo1 diff --name-only --staged " + help="execute arbitrary git command/alias for specified repo(s), group(s), or all repos.\n" + "Example: gita super myrepo1 diff --name-only --staged\n" "Another: gita super checkout master ") p_super.set_defaults(func=f_super) @@ -631,15 +631,15 @@ def main(argv=None): p_shell = subparsers.add_parser( 'shell', help='run any shell command', - description='shell mode: delegate any shell command in specified or ' + description='shell mode: delegate any shell command in specified repo(s), group(s), or ' 'all repo(s).\n' 'Examples:\n \t gita shell pwd; \n' '\t gita shell repo1 repo2 repo3 touch xx') p_shell.add_argument( 'man', nargs=argparse.REMAINDER, - help="execute arbitrary shell command for specified or all repos " - "Example: gita shell myrepo1 ls" + help="execute arbitrary shell command for specified repo(s), group(s), or all repos.\n" + "Example: gita shell myrepo1 ls\n" "Another: gita shell git checkout master ") p_shell.set_defaults(func=f_shell)