summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/device.rb
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-07-15 10:52:37 -0700
committernfagerlund <nick.fagerlund@gmail.com>2011-07-15 11:54:30 -0700
commitd02000bf0060045eb27649ce2b433dcac34a7827 (patch)
treec1c1264f262a22e23b452d2146db372b60918c69 /lib/puppet/application/device.rb
parentafc3616dc31f4a432410be4081a657726a257986 (diff)
downloadpuppet-d02000bf0060045eb27649ce2b433dcac34a7827.tar.gz
puppet-d02000bf0060045eb27649ce2b433dcac34a7827.tar.xz
puppet-d02000bf0060045eb27649ce2b433dcac34a7827.zip
(#8401) Document that --detailed-exitcodes is a bitmask
The agent/apply/device man pages mentioned the 2 and 4 exit codes, but didn't mention that they can combine to make 6 if there are both changes and failures. This commit adds the missing information to all three man pages. Reviewed-by: Matt Robinson <matt@puppetlabs.com>
Diffstat (limited to 'lib/puppet/application/device.rb')
-rw-r--r--lib/puppet/application/device.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/application/device.rb b/lib/puppet/application/device.rb
index 3e2dec98c..977c5c023 100644
--- a/lib/puppet/application/device.rb
+++ b/lib/puppet/application/device.rb
@@ -113,10 +113,10 @@ parameter, so you can specify '--server <servername>' as an argument.
Enable full debugging.
* --detailed-exitcodes:
- Provide transaction information via exit codes. If this is enabled, an
- exit code of '2' means there were changes, and an exit code of '4' means
- that there were failures during the transaction. This option only makes
- sense in conjunction with --onetime.
+ Provide transaction information via exit codes. If this is enabled, an exit
+ code of '2' means there were changes, an exit code of '4' means there were
+ failures during the transaction, and an exit code of '6' means there were both
+ changes and failures.
* --help:
Print this help message