Skip to content

Rename CLI option --reverse to --rotate - #167

Merged
peso merged 3 commits into
git-bahn:masterfrom
hippi345:cursor/rename-reverse-to-rotate-fdb4
Nov 1, 2026
Merged

peso merged 3 commits into
git-bahn:masterfrom
hippi345:cursor/rename-reverse-to-rotate-fdb4

Conversation

@hippi345

Copy link
Copy Markdown
Contributor

--reverse rotates the graph 180 degrees, so this renames it to --rotate. -r still works.

  • --rotate is now the documented flag
  • --reverse stays as a hidden alias so existing scripts keep working
  • Adds CLI parsing tests for --rotate, -r, --reverse and the help text
  • Updates CHANGELOG.md and docs/manual.md

cargo fmt, cargo clippy --all --all-targets -- --deny warnings and cargo test --all all pass.

Closes #133

Keep --reverse as a hidden clap alias for backward compatibility.
Add CLI parsing tests and update changelog and manual.
Comment thread src/main.rs Resolved
Comment thread CHANGELOG.md Resolved
@peso
peso merged commit fe0befc into git-bahn:master Nov 1, 2026
7 checks passed
@peso

peso commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Thank you for the contribution.

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.

rename --reverse to --rotate

2 participants