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

Usage message for 'ilm rule remove' subcommand is missing --id #4902

Closed
TLINDEN opened this issue Apr 15, 2024 · 1 comment
Closed

Usage message for 'ilm rule remove' subcommand is missing --id #4902

TLINDEN opened this issue Apr 15, 2024 · 1 comment

Comments

@TLINDEN
Copy link

TLINDEN commented Apr 15, 2024

NOTE

If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.

Expected Behavior

The usage message of the subcommand mc ilm rule remove should mention mandatory parameter[s].

Current Behavior

mc ilm rule rm -h doesn't mention that the parameter --id must be provided and that it's mandatory. The website documents it though.

Possible Solution

Enhance the usage message.

Steps to Reproduce (for bugs)

mc ilm rule rm -h

Context

I tried to remove an ilm rule, and according to the current usage text I tried:

mc ilm rule rm s3-b71d733f-5d5a-4496-b083-2b15d9a91c4a/backup-b71d733f 
mc: <ERROR> ilm ID cannot be empty. Invalid arguments provided, please refer `mc <command> -h` for relevant documentation.

but then it was unclear how to actually specify the id.

Regression

n/a

Your Environment

  • Version used (minio --version):
  • Server setup and configuration:
  • Operating System and version (uname -a):
    mc version RELEASE.2024-03-30T15-29-52Z (commit-id=9f8147bf0e037730077a1b3baef25e53181099b0)
@harshavardhana harshavardhana transferred this issue from minio/minio Apr 15, 2024
@TLINDEN
Copy link
Author

TLINDEN commented Apr 15, 2024

Never mind, the usage is complete. I suspect I issued the wrong -h command.

@TLINDEN TLINDEN closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant