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

docs: Unify style of CLI arguments #1050

Merged
merged 1 commit into from
Dec 20, 2023
Merged

docs: Unify style of CLI arguments #1050

merged 1 commit into from
Dec 20, 2023

Conversation

martnst
Copy link
Contributor

@martnst martnst commented Dec 18, 2023

Update CLI option examples from 2 leading dashes to just 1.

Update CLI option examples from 2 leading dashes to just 1.
@Acconut
Copy link
Member

Acconut commented Dec 19, 2023

Thank you for the PR, but what is your motivation behind this? Go's flag parser supports options being supplied with two and just one dash. So the examples are correct AFAIK.

@martnst
Copy link
Contributor Author

martnst commented Dec 19, 2023

Ah okay. I don't know much about go yet. I had noticed that tusd -h lists everything with a single dash. Thus, I thought the docs might be outdated.

So with that, now I think for sake of consistency it would be nice to align it.

@Acconut Acconut changed the title Update hooks.md docs: Unify style of CLI arguments Dec 20, 2023
@Acconut
Copy link
Member

Acconut commented Dec 20, 2023

Thanks for this! I just saw that we also use single dashes in the majority of our documentation, so I agree that we should keep it consistent :)

@Acconut Acconut merged commit e278419 into tus:main Dec 20, 2023
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.

2 participants