diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-25 17:24:14 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-25 17:28:30 -0400 |
commit | 7d85e2d931cc2fb063d1360527fce5d5384fa6b5 (patch) | |
tree | 3f7bdffd4575f7d878469b59476df8d378d1d805 /src/aur | |
parent | 525bb0c472f103fa30fe83a2de7c8c7e0469d8b8 (diff) |
move more things to use the $EXIT_* variables
Diffstat (limited to 'src/aur')
-rwxr-xr-x | src/aur | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -36,13 +36,13 @@ usage() { main() { while getopts 'h' arg; do case $arg in - h) usage; return 0;; - *) usage >&2; return 1;; + h) usage; return $EXIT_SUCCESS;; + *) usage >&2; return $EXIT_INVALIDARGUMENT;; esac done if [[ $# -lt 1 ]]; then usage >&2 - return 1 + return $EXIT_INVALIDARGUMENT fi . "$(librelib conf)" |