Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tbreuss opened this issue Apr 19, 2023 · 0 comments
Open

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

tbreuss opened this issue Apr 19, 2023 · 0 comments

Comments

@tbreuss
Copy link

tbreuss commented Apr 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant