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

Unify CLI argument flag style #1000

Merged
merged 6 commits into from
Mar 20, 2024
Merged

Unify CLI argument flag style #1000

merged 6 commits into from
Mar 20, 2024

Conversation

vbaltrusaitis-reef
Copy link
Contributor

Both style flags are still supported in CLI v3 binary (although using --camelCase will result in warnings). v4 will only support --dash-style.

@ppolewicz
Copy link
Collaborator

ppolewicz commented Mar 13, 2024 via email

@mjurbanski-reef
Copy link
Collaborator

@ppolewicz we already made this decision to emit deprecation warnings to stderr when we deprecated multiple popular commands like download-file-by-name in version https://github.com/Backblaze/B2_Command_Line_Tool/releases/tag/v3.14.0 . In 3 months since this change, we have not received a single complaint.

The motivation to do it this way, was to "ease" people into new version.
IF we ever receive such complaints we may introduce an ENV var silencing deprecation warnings, but still show them by default.

@vbaltrusaitis-reef vbaltrusaitis-reef merged commit db3a09a into master Mar 20, 2024
30 checks passed
@vbaltrusaitis-reef vbaltrusaitis-reef deleted the dash-style-flags branch March 20, 2024 13:12
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