未验证 提交 966cdb0c 编写于 作者: A Aloxaf

Fix help message of some command

上级 a3267eb0
Fix help message of commands "cache" and "remove"
......@@ -8,7 +8,7 @@ from pdm.project import Project
class Command(BaseCommand):
"""Display the current configuration"""
"""Control the caches of PDM"""
arguments = [verbose_option]
......@@ -21,7 +21,7 @@ class Command(BaseCommand):
class ClearCommand(BaseCommand):
"""Show a configuration value"""
"""Clean all the files under cache directory"""
arguments = [verbose_option]
......
......@@ -27,7 +27,7 @@ class Command(BaseCommand):
help="Only write pyproject.toml and do not uninstall packages",
)
parser.add_argument(
"packages", nargs="+", help="If packages are given, only update them"
"packages", nargs="+", help="Specify the packages to remove"
)
def handle(self, project: Project, options: argparse.Namespace) -> None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册