# HG changeset patch # User meillo@marmaro.de # Date 1204400495 -3600 # Node ID 233ac9bea4f175ffed6be3024f88f8cf7d08f45c # Parent 1ad3d7305e5d184d28eb9163d8478d090a07d4c8 switched exit code 127 to 126 (because shell returns 127 if command not found) diff -r 1ad3d7305e5d -r 233ac9bea4f1 baum.1 --- a/baum.1 Sat Mar 01 20:35:00 2008 +0100 +++ b/baum.1 Sat Mar 01 20:41:35 2008 +0100 @@ -25,7 +25,7 @@ .TP .BI \-v -Verbose output +Verbose output (All verbose output goes to stderr) .TP .BI \-\-help @@ -94,7 +94,7 @@ node name too long, or no value given .TP -.BI 127 +.BI 126 invalid command line options diff -r 1ad3d7305e5d -r 233ac9bea4f1 baum.c --- a/baum.c Sat Mar 01 20:35:00 2008 +0100 +++ b/baum.c Sat Mar 01 20:41:35 2008 +0100 @@ -254,7 +254,7 @@ */ } else { fprintf(stderr, "unknown option: %s\n", argv[0]); - exit(127); + exit(126); } }