lib/git_topic/cli.rb in git_topic-0.2.0 vs lib/git_topic/cli.rb in git_topic-0.2.1
- old
+ new
@@ -14,10 +14,10 @@
desc 'list', 'Show managed topics'
option :version, aliases: 'v'
def list
# Show version if -v specified
if options[:version]
- version and return if options[:version]
+ version if options[:version]
return
end
command = GitTopic::Commands::List.new
command.execute