lib/pbmenv/cli.rb in pbmenv-0.1.2 vs lib/pbmenv/cli.rb in pbmenv-0.1.3

- old
+ new

@@ -11,9 +11,16 @@ sub_command_arg = argv[1] Pbmenv.install(sub_command_arg) when 'uninstall' sub_command_arg = argv[1] Pbmenv.uninstall(sub_command_arg) + when '--version' + puts Pbmenv::VERSION + else + puts <<~EOH + Unknown command: + available commands: available_versions, versions, install, uninstall + EOH end end end end