Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix --help and --version reporting unicorn values #118

Merged
merged 1 commit into from May 9, 2024

Conversation

Earlopain
Copy link
Contributor

-c, --config-file FILE Unicorn-specific config file
-c, --config-file FILE Pitchfork-specific config file

pitchfork v6.1.0
pitchfork v0.13.0

exe/pitchfork Outdated
@@ -89,7 +89,7 @@ op = OptionParser.new("", 24, ' ') do |opts|
end

opts.on_tail("-v", "--version", "Show version") do
puts "#{cmd} v#{Pitchfork::Const::UNICORN_VERSION}"
puts "#{cmd} v#{Pitchfork::VERSION}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should print both?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like this?

pitchfork v0.13.0 (based on Unicorn v6.1.0)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good yeah.

@casperisfine casperisfine merged commit 8011260 into Shopify:master May 9, 2024
8 checks passed
@Earlopain Earlopain deleted the cli-stuff branch May 9, 2024 11:40
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.

None yet

2 participants