Issue #7821 has been reported by James Turnbull.

----------------------------------------
Bug #7821: MCollective should catch stack traces for missing arguments
https://projects.puppetlabs.com/issues/7821

Author: James Turnbull
Status: Unreviewed
Priority: Normal
Assignee: 
Category: Core
Target version: 
Keywords: 
Branch: 
Affected mCollective version: 1.2.0


<pre>
(master)$ mco find --with-class
find failed to run: missing argument: --with-class 
(OptionParser::MissingArgument)
        from /usr/lib/ruby/1.8/optparse.rb:451:in `parse'
        from /usr/lib/ruby/1.8/optparse.rb:1266:in `parse_in_order'
        from /usr/lib/ruby/1.8/optparse.rb:1254:in `catch'
        from /usr/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
        from /usr/lib/ruby/1.8/optparse.rb:1248:in `order!'
        from /usr/lib/ruby/1.8/optparse.rb:1339:in `permute!'
        from /usr/lib/ruby/1.8/optparse.rb:1360:in `parse!'
        from /usr/lib/ruby/1.8/mcollective/optionparser.rb:52:in `parse'
        from /usr/lib/ruby/1.8/mcollective/rpc.rb:25:in `rpcoptions'
        from /usr/lib/ruby/1.8/mcollective/application.rb:100:in 
`application_parse_options'
        from /usr/lib/ruby/1.8/mcollective/application.rb:226:in `run'
        from /usr/lib/ruby/1.8/mcollective/applications.rb:12:in `run'
        from /usr/bin/mco:19
</pre>

<pre>
mco --help
The Marionette Collective version 1.2.0

/usr/bin/mco: command (options)

Known commands: rpc facts help controller find ping inventory
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to