Skip to contentSkip to conversation

master - man: Additional info on exit statuses.

PATCH Alasdair Kergon 1 participant 1 message Sep 7, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a6bcdbe13c25af3cf4bfd0849342fff5ffd75700
Commit:        a6bcdbe13c25af3cf4bfd0849342fff5ffd75700
Parent:        a54f073af838b611d7099597919f69c24cffea07
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Wed Sep 7 01:57:09 2016 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Wed Sep 7 01:57:09 2016 +0100

man: Additional info on exit statuses.

---
 man/lvm.8.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
man/lvm.8.in +5 -0
index da85349..0db0ee4 100644
@@ -744,6 +744,11 @@ without % suffix), string.
 .SH DIAGNOSTICS
 .
 All tools return a status code of zero on success or non-zero on failure.
+The non-zero codes distinguish only between the broad categories of
+unrecognised commands, problems processing the command line arguments
+and any other failures.  As LVM remains under active development, the
+code used in a specific case occasionally changes between releases.
+Message text may also change.
 .
 .SH ENVIRONMENT VARIABLES
 .