Issue #4222 has been updated by Nan Liu.

Affected version changed from 0.25.5 to 2.6.0rc4

Testing on 2.6 rc4 shows same error message:

$ puppet --noop -verbose test.pp
Could not parse for environment production: Syntax error at end of file at line 
1 on node unknown.demo.lan

$ puppet --noop --verbose test.pp
info: Applying configuration version '1278795864'
notice: /Stage[main]//Cron[cron1]/ensure: is absent, should be present (noop)


----------------------------------------
Bug #4222: Improve puppet error message for invalid options
http://projects.puppetlabs.com/issues/4222

Author: Nan Liu
Status: Needs more information
Priority: Low
Assigned to: Nan Liu
Category: error reporting
Target version: 
Affected version: 2.6.0rc4
Keywords: 
Branch: 


When dealing with an invalid option, puppet should provide more meaningful 
error message:

$ puppet -verbose
Could not parse for environment production: Syntax error at end of file at line 
1

This should generate something along the line of "-verbose invalid option".



-- 
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