summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <bo.andresen@zlin.dk>2007-09-19 06:11:03 +0000
committerBo Ørsted Andresen <bo.andresen@zlin.dk>2007-09-19 06:11:03 +0000
commit5f4d13dc6341d41c637db3ad28aca73c1686bd37 (patch)
tree30f7557088c7c5d0a0749149a3db0cab492fdaa4
parent2483ce14f199d0b50c7069dced077ad1a47d7878 (diff)
downloadwgetpaste-5f4d13dc6341d41c637db3ad28aca73c1686bd37.tar.gz
Move INFO_COMMAND too.
-rwxr-xr-xwgetpaste7
1 files changed, 3 insertions, 4 deletions
diff --git a/wgetpaste b/wgetpaste
index c8c9108..222ae7a 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -10,10 +10,6 @@ VERSION="9999"
E=$'\e'
N=$'\n'
-# Used for --info and --info-only
-INFO_COMMAND="emerge --info"
-INFO_ARGS="--ignore-default-opts"
-
### services
SERVICES="ca rafb osl sh"
# ca
@@ -535,6 +531,9 @@ NICK=${NICK:-$(escape "${DEFAULT_NICK}")}
[[ -z $SOURCE ]] && SOURCE="stdin" && FILES[${#FILES[*]}]="/dev/stdin"
CVT_TABS=No
+INFO_COMMAND="emerge --info"
+INFO_ARGS="--ignore-default-opts"
+
# show listings if requested
[[ $USAGE ]] && usage && exit 0
[[ $SHOWSERVICES ]] && showservices && exit 0