From 8dc1cac33371f18504223c9a07da3e299623f57c Mon Sep 17 00:00:00 2001 From: Reid <61492567+reidliu41@users.noreply.github.com> Date: Sat, 15 Feb 2025 09:16:26 +0800 Subject: [PATCH] style: fix the capitalization issue (#1117) # What does this PR do? [Provide a short summary of what this PR does and why. Link to relevant issues if applicable.] ``` before: $ llama stack run --help usage: llama stack run [-h] [--port PORT] [--image-name IMAGE_NAME] [--disable-ipv6] [--env KEY=VALUE] [--tls-keyfile TLS_KEYFILE] [--tls-certfile TLS_CERTFILE] [--image-type {conda,container,venv}] config start <<<<<<---- the server for a Llama Stack Distribution. You should have already built (or downloaded) and configured the distribution. After: $ llama stack run --help usage: llama stack run [-h] [--port PORT] [--image-name IMAGE_NAME] [--disable-ipv6] [--env KEY=VALUE] [--tls-keyfile TLS_KEYFILE] [--tls-certfile TLS_CERTFILE] [--image-type {conda,container,venv}] config Start <<<<<<---- the server for a Llama Stack Distribution. You should have already built (or downloaded) and configured the distribution. ``` [//]: # (If resolving an issue, uncomment and update the line below) [//]: # (Closes #[issue-number]) ## Test Plan [Describe the tests you ran to verify your changes with result summaries. *Provide clear instructions so the plan can be easily re-executed.*] [//]: # (## Documentation) Signed-off-by: reidliu Co-authored-by: reidliu --- llama_stack/cli/stack/configure.py | 2 +- llama_stack/cli/stack/run.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llama_stack/cli/stack/configure.py b/llama_stack/cli/stack/configure.py index 56f4feceb..2bb3f7313 100644 --- a/llama_stack/cli/stack/configure.py +++ b/llama_stack/cli/stack/configure.py @@ -17,7 +17,7 @@ class StackConfigure(Subcommand): self.parser = subparsers.add_parser( "configure", prog="llama stack configure", - description="configure a llama stack distribution", + description="Configure a llama stack distribution", formatter_class=argparse.RawTextHelpFormatter, ) self._add_arguments() diff --git a/llama_stack/cli/stack/run.py b/llama_stack/cli/stack/run.py index c32e51fca..73536491b 100644 --- a/llama_stack/cli/stack/run.py +++ b/llama_stack/cli/stack/run.py @@ -19,7 +19,7 @@ class StackRun(Subcommand): self.parser = subparsers.add_parser( "run", prog="llama stack run", - description="""start the server for a Llama Stack Distribution. You should have already built (or downloaded) and configured the distribution.""", + description="""Start the server for a Llama Stack Distribution. You should have already built (or downloaded) and configured the distribution.""", formatter_class=argparse.RawTextHelpFormatter, ) self._add_arguments()