Skip to content

Conversation

@AmosOO7
Copy link
Contributor

@AmosOO7 AmosOO7 commented Nov 29, 2025

Description

This PR adds a short -P flag as an alias for the existing --pretty option to make the command easier and faster to use.

This closes #226

Notes to the reviewers

The new -P flag behaves exactly the same as --pretty.
No existing behavior is changed — this only introduces an additional alias.

Changelog notice

Added -P as a shorthand flag for the pretty command.

Checklists

All Submissions:

  • I've run cargo fmt and cargo clippy
  • I followed the contribution guidelines

The -p short flag was conflicting with other options (proxy, password, path),
causing CLI parsing errors and failing tests. Changed the short flag for
--pretty to -P to avoid conflicts while keeping it intuitive.

This restores test passes for all CLI flag positions and maintains backward
compatibility.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 19788352634

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 12.147%

Totals Coverage Status
Change from base Build 19253249526: 0.0%
Covered Lines: 172
Relevant Lines: 1416

💛 - Coveralls

@AmosOO7 AmosOO7 marked this pull request as ready for review November 29, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Add short option -p for prettier output

2 participants