diff --git a/vllm/entrypoints/cli/collect_env.py b/vllm/entrypoints/cli/collect_env.py index d5f9f7e729f..810ecfdf71c 100644 --- a/vllm/entrypoints/cli/collect_env.py +++ b/vllm/entrypoints/cli/collect_env.py @@ -4,12 +4,11 @@ from vllm.collect_env import main as collect_env_main from vllm.entrypoints.cli.types import CLISubcommand -from vllm.entrypoints.openai.cli_args import make_arg_parser from vllm.utils import FlexibleArgumentParser class CollectEnvSubcommand(CLISubcommand): - """The `serve` subcommand for the vLLM CLI. """ + """The `collect-env` subcommand for the vLLM CLI. """ def __init__(self): self.name = "collect-env" @@ -23,12 +22,12 @@ def cmd(args: argparse.Namespace) -> None: def subparser_init( self, subparsers: argparse._SubParsersAction) -> FlexibleArgumentParser: - serve_parser = subparsers.add_parser( + collect_env_parser = subparsers.add_parser( "collect-env", help="Start collecting environment information.", description="Start collecting environment information.", usage="vllm collect-env") - return make_arg_parser(serve_parser) + return collect_env_parser def cmd_init() -> list[CLISubcommand]: