diff options
author | kate.ward <kate.ward@forestent.com> | 2008-11-12 23:21:48 +0000 |
---|---|---|
committer | kate.ward <kate.ward@forestent.com> | 2008-11-12 23:21:48 +0000 |
commit | d2258ed4a61397302f0c10295a9626e07af30353 (patch) | |
tree | 3ea9c85b3474a9c0e1b5c610db896d5437b6a429 /source/1.0/src/shflags | |
parent | abae05d8051c23fbca3e0e6c459142815df74a23 (diff) | |
download | shflags-d2258ed4a61397302f0c10295a9626e07af30353.tar.gz |
reordering some constants in the code
Diffstat (limited to 'source/1.0/src/shflags')
-rw-r--r-- | source/1.0/src/shflags | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/1.0/src/shflags b/source/1.0/src/shflags index eb7a9b7..1b93072 100644 --- a/source/1.0/src/shflags +++ b/source/1.0/src/shflags @@ -74,15 +74,15 @@ [ -n "${FLAGS_VERSION:-}" ] && return 0 FLAGS_VERSION='1.0.2pre' +FLAGS_TRUE=0 +FLAGS_FALSE=1 +FLAGS_ERROR=2 + _flags_debug() { echo "flags:DEBUG $@" >&2; } _flags_warn() { echo "flags:WARN $@" >&2; } _flags_error() { echo "flags:ERROR $@" >&2; } _flags_fatal() { echo "flags:FATAL $@" >&2; } -FLAGS_TRUE=0 -FLAGS_FALSE=1 -FLAGS_ERROR=2 - # specific shell checks if [ -n "${ZSH_VERSION:-}" ]; then setopt |grep "^shwordsplit$" >/dev/null |