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

Fixed --files argument to sort alphabetically #1059

Merged
merged 3 commits into from
May 13, 2024

Conversation

Alexe1289
Copy link
Contributor

Now if --files argument is found it will sort by default alphabetically the name of the files. If --sort argument is also provided (for example tokei --files --sort blanks), the sorting for files will be ignored and it will only sort by given argument.

Should fix #1053

@Alexe1289
Copy link
Contributor Author

@XAMPPRocky any feedback, please?

@XAMPPRocky
Copy link
Owner

Thank you for your PR! Sorry it will be awhile before I'm able to review.

@XAMPPRocky
Copy link
Owner

Thank you for your PR!

@XAMPPRocky XAMPPRocky merged commit b0b7a38 into XAMPPRocky:master May 13, 2024
71 checks passed
ErikSchierboom pushed a commit to exercism/tokei that referenced this pull request Jun 7, 2024
* Fixed --files argument to sort alphabetically

* Deleted unnecessary clone().

* Ran cargo fmt
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.

How are the filenames listed by the '--files' option ordered?
2 participants