Skip to content

Shortform of help doesn't work (on macos with zsh) #46

@tbreuss

Description

@tbreuss

If I enter -? to get the help for a registered command as suggested, nothing happens.

$ php cli.php auth:token -? 
zsh: no matches found: -?

The long help with --help works like expected.

$ php cli.php auth:token --help
usage: cli.php auth:token [<options>]

Get token for credentials.

OPTIONS
  --help, -?   Display this help.
  --pass, -p   The Password.
  --user, -u   The Username.

It maybe has to do with macOS Monterey 12.6.5 (21G531) with zsh 5.8.1 (x86_64-apple-darwin21.0) installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions