Skip to content

fix: version flag when running with no args#513

Merged
KLongmuirHD merged 2 commits intomainfrom
fix/default_command_version_flag
Mar 5, 2026
Merged

fix: version flag when running with no args#513
KLongmuirHD merged 2 commits intomainfrom
fix/default_command_version_flag

Conversation

@KLongmuirHD
Copy link
Contributor

@KLongmuirHD KLongmuirHD commented Mar 5, 2026

currently, when running hd --version, this causes the help command to be run with the --version flag. --version is not a valid flag for the help command, so it causes the help command to run with an error.

this makes it so that if a user runs hd --version, it will not infer the help command

also, add support for -v alias

@KLongmuirHD KLongmuirHD requested a review from a team as a code owner March 5, 2026 21:31
@KLongmuirHD KLongmuirHD merged commit 5e1fce6 into main Mar 5, 2026
12 checks passed
@KLongmuirHD KLongmuirHD deleted the fix/default_command_version_flag branch March 5, 2026 22:12
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.

3 participants