summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-07-02 11:49:04 +0200
committerYorhel <git@yorhel.nl>2016-07-02 11:49:04 +0200
commitf68dfff75d63dbd51c9c53820b2db51bbc909907 (patch)
tree2ee15cedb2b1d4e7890de5d74574bd12f893b749
parentb894e0442343861fda9084a2be19e915d744e14b (diff)
bpaste.sh: Fix inversion of the -c option
-rw-r--r--bpaste.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/bpaste.sh b/bpaste.sh
index de091ab..a795732 100644
--- a/bpaste.sh
+++ b/bpaste.sh
@@ -14,6 +14,9 @@
# projects@yorhel.nl
# License: MIT
#
+# 0.5 - 2016-07-02
+# - Fix inversion of the -c option
+#
# 0.4 - 2016-06-21
# - Remove -l option
#
@@ -36,7 +39,7 @@ HOST=https://p.blicky.net/
SYNTAX=nosyntax
FILE=-
WRAP=0
-CLICK=0
+CLICK=1
VERSION=0.4
@@ -62,7 +65,7 @@ while getopts 'h:s:f:wcl?' opt; do
s) SYNTAX=$OPTARG ;;
f) FILE=$OPTARG ;;
w) WRAP=1 ;;
- c) CLICK=1 ;;
+ c) CLICK=0 ;;
?) showhelp ;;
esac
done