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

Fixing misleading usage help for mc anonymous set-json #4621

Merged
merged 3 commits into from
Jul 18, 2023

Conversation

mesif
Copy link
Contributor

@mesif mesif commented Jun 29, 2023

Description

Fixed misleading usage help for mc anonymous set-json.

Motivation and Context

Command:
mc anonymous set-json
is working only with such a sequence:
mc anonymous set-json cluster/bucket/path /path/to/json
So the command help needs to be corrected.

How to test this PR?

Just run the binary with the proper options:
mc anonymous set-json cluster/bucket/path /path/to/json

Fixed USAGE according to the program behavior: set-json needs TARGET first and then FILE
Fixed other misleading helps of usage set-json option
@harshavardhana
Copy link
Member

Please fix the PR title

@mesif mesif changed the title Patch 1 Fixing misleading usage help for mc anonymous set-json Jun 30, 2023
@mesif
Copy link
Contributor Author

mesif commented Jun 30, 2023

Please fix the PR title

Sorry. Fixed.

@mesif mesif closed this Jun 30, 2023
@mesif mesif reopened this Jun 30, 2023
Copy link
Contributor

@shtripat shtripat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified. looks good

@mesif
Copy link
Contributor Author

mesif commented Jul 17, 2023

Hi again!
Is there anything I shall do for resolving this PR?

@harshavardhana harshavardhana merged commit c78ff23 into minio:master Jul 18, 2023
5 checks passed
bjw-s referenced this pull request in bjw-s/dotfiles Jul 19, 2023
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [mc](https://togithub.com/minio/mc) | patch | `2023-07-11T23-30-44Z`
-> `2023-07-18T21-05-38Z` |

---

### Release Notes

<details>
<summary>minio/mc (mc)</summary>

###
[`v2023-07-18T21-05-38Z`](https://togithub.com/minio/mc/releases/tag/RELEASE.2023-07-18T21-05-38Z):
Bug Fix Release

[Compare
Source](https://togithub.com/minio/mc/compare/RELEASE.2023-07-11T23-30-44Z...RELEASE.2023-07-18T21-05-38Z)

##### What's Changed

- allow purge to happen on quorum lost objects by
[@&#8203;harshavardhana](https://togithub.com/harshavardhana) in
[https://github.com/minio/mc/pull/4629](https://togithub.com/minio/mc/pull/4629)
- Rename mc replicate diff as mc replicate backlog by
[@&#8203;poornas](https://togithub.com/poornas) in
[https://github.com/minio/mc/pull/4568](https://togithub.com/minio/mc/pull/4568)
- Added `endpoint` and `version` attributes to KMS details by
[@&#8203;shtripat](https://togithub.com/shtripat) in
[https://github.com/minio/mc/pull/4591](https://togithub.com/minio/mc/pull/4591)
- Ensure `--airgap` is available on all support commands by
[@&#8203;anjalshireesh](https://togithub.com/anjalshireesh) in
[https://github.com/minio/mc/pull/4633](https://togithub.com/minio/mc/pull/4633)
- run gofumpt -extra on all source files by
[@&#8203;harshavardhana](https://togithub.com/harshavardhana) in
[https://github.com/minio/mc/pull/4634](https://togithub.com/minio/mc/pull/4634)
- Fixing misleading usage help for mc anonymous set-json by
[@&#8203;mesif](https://togithub.com/mesif) in
[https://github.com/minio/mc/pull/4621](https://togithub.com/minio/mc/pull/4621)
- Support mc top net by [@&#8203;jiuker](https://togithub.com/jiuker) in
[https://github.com/minio/mc/pull/4626](https://togithub.com/minio/mc/pull/4626)
- fix: with --purge flag ignore path validation errors by
[@&#8203;harshavardhana](https://togithub.com/harshavardhana) in
[https://github.com/minio/mc/pull/4636](https://togithub.com/minio/mc/pull/4636)

##### New Contributors

- [@&#8203;mesif](https://togithub.com/mesif) made their first
contribution in
[https://github.com/minio/mc/pull/4621](https://togithub.com/minio/mc/pull/4621)

**Full Changelog**:
minio/mc@RELEASE.2023-07-11T23-30-44Z...RELEASE.2023-07-18T21-05-38Z

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMC4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: bjw-s-bot <87358111+bjw-s-bot[bot]@users.noreply.github.com>
@mesif mesif deleted the patch-1 branch July 30, 2023 21:48
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

Successfully merging this pull request may close these issues.

4 participants