Skip to content

Commit

Permalink
Merge pull request #187 from Aloxaf/fix_doc
Browse files Browse the repository at this point in the history
Fix help message of some command
  • Loading branch information
frostming authored Dec 5, 2020
2 parents a3267eb + 966cdb0 commit b3c70d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions news/187.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix help message of commands "cache" and "remove"
4 changes: 2 additions & 2 deletions pdm/cli/commands/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


class Command(BaseCommand):
"""Display the current configuration"""
"""Control the caches of PDM"""

arguments = [verbose_option]

Expand All @@ -21,7 +21,7 @@ def handle(self, project: Project, options: argparse.Namespace) -> None:


class ClearCommand(BaseCommand):
"""Show a configuration value"""
"""Clean all the files under cache directory"""

arguments = [verbose_option]

Expand Down
2 changes: 1 addition & 1 deletion pdm/cli/commands/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def add_arguments(self, parser: argparse.ArgumentParser) -> None:
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:
Expand Down

0 comments on commit b3c70d7

Please sign in to comment.