Skip to content

Commit

Permalink
remove too verbose help text
Browse files Browse the repository at this point in the history
  • Loading branch information
fregataa committed Oct 24, 2024
1 parent c60d058 commit 3c0f48b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/ai/backend/client/cli/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ def info(ctx: CLIContext, service_name_or_id: str):
help=(
"Resource options for creating compute session (e.g: shmem=64m). "
"The session APIs compare the total resources (the sum of this value and `resources`) "
"to the minimum/maximum resources requirements specified by an image. "
"If the total does not meet these resource limits, the APIs raise a InvalidAPIParameters error."
"to the minimum/maximum resources requirements specified by an image."
),
)
@click.option(
Expand Down Expand Up @@ -401,8 +400,7 @@ def create(
help=(
"Resource options for creating compute session (e.g: shmem=64m). "
"The session APIs compare the total resources (the sum of this value and `resources`) "
"to the minimum/maximum resources requirements specified by an image. "
"If the total does not meet these resource limits, the APIs raise a InvalidAPIParameters error."
"to the minimum/maximum resources requirements specified by an image."
),
)
@click.option(
Expand Down
3 changes: 1 addition & 2 deletions src/ai/backend/client/cli/session/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@
help=(
"Resource options for creating compute session (e.g: shmem=64m). "
"The session APIs compare the total resources (the sum of this value and `resources`) "
"to the minimum/maximum resources requirements specified by an image. "
"If the total does not meet these resource limits, the APIs raise a InvalidAPIParameters error."
"to the minimum/maximum resources requirements specified by an image."
),
),
# resource grouping
Expand Down
3 changes: 1 addition & 2 deletions src/ai/backend/client/cli/session/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,7 @@ def prepare_mount_arg(
help=(
"Resource options for creating compute session (e.g: shmem=64m). "
"The session APIs compare the total resources (the sum of this value and `resources`) "
"to the minimum/maximum resources requirements specified by an image. "
"If the total does not meet these resource limits, the APIs raise a InvalidAPIParameters error."
"to the minimum/maximum resources requirements specified by an image."
),
)
@click.option(
Expand Down

0 comments on commit 3c0f48b

Please sign in to comment.