Skip to content

Conversation

Managor
Copy link
Member

@Managor Managor commented Oct 6, 2025

As was discussed in #18484 (comment), it is hard to differentiate between positional arguments and options with arguments when they were mixed like this. This new order does away with that issue.

@github-actions github-actions bot added the documentation Issues/PRs modifying the documentation. label Oct 6, 2025
@Managor
Copy link
Member Author

Managor commented Oct 6, 2025

Style guide changes are going to keep us busy for the next 10 years.

@Managor Managor changed the title Update style-guide.md style-guide: refine argument order Oct 6, 2025
@Managor Managor mentioned this pull request Oct 6, 2025
6 tasks
@Managor Managor merged commit 7d0e3f3 into main Oct 6, 2025
9 checks passed
@Managor Managor deleted the style-guide branch October 6, 2025 14:24
kekwlboy12469 added a commit to kekwlboy12469/tldr that referenced this pull request Oct 6, 2025
What I Fixed
Based on the tldr style guide PR tldr-pages#18491 that standardized argument order, I made these corrections:

Rule: Positional arguments (like {{path/to/project_folder}}) must come BEFORE option flags and options with arguments.
This was referenced Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues/PRs modifying the documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants