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

CLI hangs when using a single dash with a non-existent multi-character parameter in any mgc subcommand #1345

Open
gabrielgusn opened this issue Feb 12, 2025 · 0 comments

Comments

@gabrielgusn
Copy link

gabrielgusn commented Feb 12, 2025

I was doing some tests related to the Object Storage and at a specific time I inserted a non-existent parameter with more than one character in the mgc os objects ... command with only one dash, which made my terminal get stuck.
Lately, I noticed that this behaviour occurs with any CLI subcommand.

Executing a mgc command with a normal -h flag
Image

Returning correcty an error due to an unknown 1 character flag
Image

And here with an unknown 2 characters flag using only 1 dash, where my shell gets stuck
Image

OS Version: Ubuntu 24.04.01 LTS in Windows 11 WSL
CLI Version: mgc version v0.34.0 (linux/amd64)

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