Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Show error instead of help when the user uses an unsupported subcommand on the CLI #10760

Closed
Labels
cliArea: CLI
@mafredri

Description

@mafredri

The coder CLI quietly accepts any subcommand arguments and silently swallows them. This is confusing for users since they should really be seeing an error that the subcommand doesn't exist.

❯ coder | head -n5coder v2.3.3+e491217USAGE:  coder [global-flags] <subcommand>
❯ coder idontexist | head -n5coder v2.3.3+e491217USAGE:  coder [global-flags] <subcommand>
❯ coder idontexist --help | head -n5coder v2.3.3+e491217USAGE:  coder [global-flags] <subcommand>

Expected:

❯ coder idontexisterror: command "coder idontexist" doesn't exist, see "coder --help" for more information❯ coder iexistbut idontexisterror: command "coder iexistbut idontexist" doesn't exist, see "coder iexistbut --help" for more information

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliArea: CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp