Skip to content

Commit 5ae456b

Browse files
committed
Improve help messages
1 parent 81cd670 commit 5ae456b

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

rsconnect/main.py

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,10 +1023,7 @@ def _warn_on_ignored_requirements(directory: str, requirements_file_name: str):
10231023
"-r",
10241024
type=click.Path(exists=True, dir_okay=False),
10251025
default="requirements.txt",
1026-
help=(
1027-
"Path to requirements file to record in the manifest instead of detecting the environment. "
1028-
"Must be inside the notebook directory. Use 'none' to capture via pip freeze."
1029-
),
1026+
help=("Path to requirements file listing the project dependencies. " "Must be inside the notebook directory."),
10301027
)
10311028
@click.option(
10321029
"--package-installer",
@@ -1193,10 +1190,7 @@ def deploy_notebook(
11931190
"-r",
11941191
type=click.Path(exists=True, dir_okay=False),
11951192
default="requirements.txt",
1196-
help=(
1197-
"Path to requirements file to record in the manifest instead of detecting the environment. "
1198-
"Must be inside the notebook directory. Use 'none' to capture via pip freeze."
1199-
),
1193+
help=("Path to requirements file listing the project dependencies. " "Must be inside the notebook directory."),
12001194
)
12011195
@click.option(
12021196
"--package-installer",
@@ -1427,10 +1421,7 @@ def deploy_manifest(
14271421
"-r",
14281422
type=click.Path(exists=True, dir_okay=False),
14291423
default="requirements.txt",
1430-
help=(
1431-
"Path to requirements file to record in the manifest instead of detecting the environment. "
1432-
"Must be inside the project directory. Use 'none' to capture via pip freeze."
1433-
),
1424+
help=("Path to requirements file listing the project dependencies. " "Must be inside the project directory."),
14341425
)
14351426
@click.option(
14361427
"--package-installer",
@@ -1826,8 +1817,7 @@ def generate_deploy_python(app_mode: AppMode, alias: str, min_version: str, desc
18261817
"-r",
18271818
type=click.Path(exists=True, dir_okay=False),
18281819
help=(
1829-
"Path to requirements file to record in the manifest instead of detecting the environment. "
1830-
"Must be inside the deployment directory. Use 'none' to capture via pip freeze."
1820+
"Path to requirements file listing the project dependencies. " "Must be inside the deployment directory."
18311821
),
18321822
)
18331823
@click.option(
@@ -2518,10 +2508,7 @@ def generate_write_manifest_python(app_mode: AppMode, alias: str, desc: Optional
25182508
"--requirements-file",
25192509
"-r",
25202510
type=click.Path(exists=True, dir_okay=False),
2521-
help=(
2522-
"Path to requirements file to record in the manifest instead of detecting the environment. "
2523-
"Must be inside the application directory. Use 'none' to capture via pip freeze."
2524-
),
2511+
help=("Path to requirements file listing the project dependencies. Must be inside the application directory."),
25252512
)
25262513
@click.option(
25272514
"--package-installer",

0 commit comments

Comments
 (0)