Skip to content

Add -p short flag for pretty command#227

Closed
AmosOO7 wants to merge 1 commit intobitcoindevkit:masterfrom
AmosOO7:patch-1
Closed

Add -p short flag for pretty command#227
AmosOO7 wants to merge 1 commit intobitcoindevkit:masterfrom
AmosOO7:patch-1

Conversation

@AmosOO7
Copy link
Contributor

@AmosOO7 AmosOO7 commented Nov 29, 2025

Add -p short flag for pretty command

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.

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

New Features:

  • I've added docs for the new flag

Add a short `-p` flag for the existing `pretty` command so users can invoke it more quickly using a shorthand option.
@AmosOO7 AmosOO7 closed this Nov 29, 2025
@AmosOO7 AmosOO7 deleted the patch-1 branch November 29, 2025 19:05
@github-project-automation github-project-automation bot moved this to Done in BDK-CLI Nov 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant