Skip to content
Browse files

shows version when is present

  • Loading branch information...
1 parent dc6aa99 commit 46df0ccf0418c3fc4ac32e16c08b4848a5e6d80e @guedes committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/pgxn-utils
View
2 bin/pgxn-utils
@@ -18,5 +18,5 @@ end
command_args = command_args + ARGV
-puts "PGXN Utils version: #{PgxnUtils::VERSION}" if ARGV.empty?
+puts "PGXN Utils version: #{PgxnUtils::VERSION}" if command_args.include?('help')
PgxnUtils::CLI.start( command_args || ARGV )

0 comments on commit 46df0cc

Please sign in to comment.
Something went wrong with that request. Please try again.