Unverified Commit 5d930896 authored by Ning Xie's avatar Ning Xie Committed by GitHub
Browse files

[cli] complete vllm cli help message (#31226)


Signed-off-by: default avatarAndy Xie <andy.xning@gmail.com>
parent 66c98874
......@@ -32,6 +32,7 @@ class BenchmarkSubcommand(CLISubcommand):
) -> FlexibleArgumentParser:
bench_parser = subparsers.add_parser(
self.name,
help=self.help,
description=self.help,
usage=f"vllm {self.name} <bench_type> [options]",
)
......
......@@ -66,7 +66,11 @@ class ServeSubcommand(CLISubcommand):
self, subparsers: argparse._SubParsersAction
) -> FlexibleArgumentParser:
serve_parser = subparsers.add_parser(
self.name, description=DESCRIPTION, usage="vllm serve [model_tag] [options]"
self.name,
help="Launch a local OpenAI-compatible API server to serve LLM "
"completions via HTTP.",
description=DESCRIPTION,
usage="vllm serve [model_tag] [options]",
)
serve_parser = make_arg_parser(serve_parser)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment