diff options
author | Kate Ward <kate.ward@forestent.com> | 2017-10-21 19:45:29 +0200 |
---|---|---|
committer | Kate Ward <kate.ward@forestent.com> | 2017-10-21 19:45:29 +0200 |
commit | 16e8d0d3a58dfe8ccc0423b2cfbdf8119e7a86d7 (patch) | |
tree | 86a192b9423cc648c53523b6a3ca296405b7be71 /shflags | |
parent | 78740ed6347816adcd7e863b0eb32099464a40a7 (diff) | |
download | shflags-16e8d0d3a58dfe8ccc0423b2cfbdf8119e7a86d7.tar.gz |
Fixed #47. A call for help should return a non-zero exit code.
Diffstat (limited to 'shflags')
-rw-r--r-- | shflags | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -892,7 +892,7 @@ _flags_parseGetopt() { if [ "${FLAGS_help}" -eq ${FLAGS_TRUE} ]; then flags_help flags_error='help requested' - flags_return=${FLAGS_TRUE} + flags_return=${FLAGS_FALSE} break fi fi |