浏览代码

cli: usage: make `branch` help text less context-specific

James Addison 1 周之前
父节点
当前提交
cd0450a3e7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dulwich/cli.py

+ 2 - 2
dulwich/cli.py

@@ -739,7 +739,7 @@ class cmd_branch(Command):
         parser.add_argument(
             "branch",
             type=str,
-            help="Name of the branch to create",
+            help="Name of the branch",
         )
         parser.add_argument(
             "-d",
@@ -768,7 +768,7 @@ class cmd_checkout(Command):
         parser.add_argument(
             "branch",
             type=str,
-            help="Name of the branch to checkout",
+            help="Name of the branch",
         )
         parser.add_argument(
             "-f",