Skip to content

Commit

Permalink
7822 - MCollective should return a --version
Browse files Browse the repository at this point in the history
Back out this change as it prevented further option parsing from
happening.
  • Loading branch information
ripienaar committed Jun 7, 2011
1 parent 8a71b78 commit 2fd81d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions mco
Expand Up @@ -2,13 +2,6 @@

require 'mcollective'

OptionParser.new do |opts|
opts.on("--version", "-v", "Version information") do
puts MCollective.version
exit
end
end.parse!

known_applications = MCollective::Applications.list

# links from mc-ping to mc will result in ping being run
Expand Down
1 change: 0 additions & 1 deletion website/changelog.md
Expand Up @@ -12,7 +12,6 @@ title: Changelog
|Date|Description|Ticket|
|----|-----------|------|
|2011/06/07|Exceptions raised during option parsing were not handled and resulted in stack traces|7796|
|2011/06/07|Add a --version option to the mco command|7822|
|2011/06/06|Remove the sshkey, it's being moved to the plugin repository|7794|
|2011/06/02|Correct parsing of MCOLLECTIVE_EXTRA_OPTS in cases where no config related settings were set|7755|
|2011/05/31|Disconnect from the middleware when an application calls exit|7712|
Expand Down

0 comments on commit 2fd81d4

Please sign in to comment.