Skip to content

Commit 27c4e86

Browse files
authored
Improve help texts
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent d0e1386 commit 27c4e86

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

etc/scripts/deps_archive.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,29 +65,26 @@ def generate_os_archive(links, requirement, archive_name):
6565
def main_with_args(args: str) -> None:
6666
parser = argparse.ArgumentParser(
6767
description="""Generate an archive as `archive_name.tar.gz` and `archive_name` directory
68-
that contains wheels and sdist for specific OS and python by taking links,
69-
requirement as an input.
70-
""",
71-
formatter_class=argparse.RawDescriptionHelpFormatter,
68+
that contains wheels and sdist for specific OS and python.""",
7269
)
7370

7471
parser.add_argument(
7572
'--find-links',
76-
help="Required: A url or path to an html file, then parse for links to archives. If a local path or file://url that's a directory, then look for archives in the directory listing",
73+
help="A directory or URL where to find packages. See pip help for details.",
7774
type=str,
7875
required=True,
7976
)
8077

8178
parser.add_argument(
8279
'--requirement',
83-
help='Required: A requirement_file with hashes',
80+
help='An existing requirement file (with hashes) listing required packages.',
8481
type=str,
8582
required=True,
8683
)
8784

8885
parser.add_argument(
8986
'--archive-name',
90-
help='Required: The Generated archive file name without extension.',
87+
help='Path to the archive file base name to create (without extension).',
9188
type=str,
9289
required=True,
9390
)

0 commit comments

Comments
 (0)