aboutsummaryrefslogtreecommitdiff
path: root/source/1.0/src/shflags
diff options
context:
space:
mode:
authorkate.ward <kate.ward@forestent.com>2008-11-12 23:21:48 +0000
committerkate.ward <kate.ward@forestent.com>2008-11-12 23:21:48 +0000
commitd2258ed4a61397302f0c10295a9626e07af30353 (patch)
tree3ea9c85b3474a9c0e1b5c610db896d5437b6a429 /source/1.0/src/shflags
parentabae05d8051c23fbca3e0e6c459142815df74a23 (diff)
downloadshflags-d2258ed4a61397302f0c10295a9626e07af30353.tar.gz
reordering some constants in the code
Diffstat (limited to 'source/1.0/src/shflags')
-rw-r--r--source/1.0/src/shflags8
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