Skip to content

fix broken --version option#12

Open
ChanceHarrison wants to merge 1 commit intoLunarEclipse363:mainfrom
ChanceHarrison:fix-version
Open

fix broken --version option#12
ChanceHarrison wants to merge 1 commit intoLunarEclipse363:mainfrom
ChanceHarrison:fix-version

Conversation

@ChanceHarrison
Copy link

@ChanceHarrison ChanceHarrison commented Jan 12, 2026

Since the binary is named brother_ql but the distribution name is brother_ql_next, click's version_option function isn't able to detect the version by default. This is resolved by specifying the package_name argument to said function.

This remedies some of the odd behavior seen in #11

since the binary is named brother_ql but the distribution name is brother_ql_next,
the package_name argument needs to be specified for it to work correctly.
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.

1 participant