Skip to content

Commit

Permalink
Adjust help texts in argparse
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Mar 1, 2023
1 parent bc258e0 commit 8acc2c6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions komodo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def parse_args(args: List[str]) -> argparse.Namespace:
"-c", # deprecated
type=str,
default="downloads",
help="A temporary destination directory used for downloads, "
help="A destination directory relative the workspace, used for downloads, "
"used by pip download, cp, rsync and git clone. This directory "
"must be empty if it already exists, otherwise it will be created.",
)
Expand All @@ -287,13 +287,15 @@ def parse_args(args: List[str]) -> argparse.Namespace:
"--download",
"-d",
action="store_true",
help="Flag to choose whether to download the packages.",
help="If set, packages will be downloaded but nothing will be built, unless "
"--build is also included."
)
optional_args.add_argument(
"--build",
"-b",
action="store_true",
help="Flag to choose whether to build the packages.",
help="Flag to only build. If set and --download is not, "
"the downloads directory must already be populated."
)
optional_args.add_argument(
"--install",
Expand Down

0 comments on commit 8acc2c6

Please sign in to comment.