Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

Commit

Permalink
Merge pull request #51 from vitorgalvao/patch-1
Browse files Browse the repository at this point in the history
fix '--keep_file' option
  • Loading branch information
jomo committed Dec 5, 2015
2 parents b788fa4 + 6c2997d commit 0552e6d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions imgur-screenshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ "$1" = "--debug" ]; then
set -x
fi

current_version="v1.6.0"
current_version="v1.6.1"

function is_mac() {
uname | grep -q "Darwin"
Expand Down Expand Up @@ -394,18 +394,18 @@ while [ $# != 0 ]; do
echo "usage: $0 [--connect | --check | [-v | --version] | [-h | --help] ] |"
echo " [[-o | --open <true|false>] [-e | --edit <true|false>] [-l | --login <true|false>] [[-a <album_title> | --album <album_title>] | [-A <album_id> | --album_id <album_id>]] [-k | --keep_file <true|false>] [-d <s> | --auto-delete <s>] [file ...]]"
echo ""
echo " -h, --help show this help, exit"
echo " -v, --version show current version, exit"
echo " --check Check if all dependencies are installed, exit"
echo " -c, --connect Show connected imgur account, exit"
echo " -o, --open <true|false> override 'open' config. -o implies true"
echo " -e, --edit <true|false> override 'edit' config. -e implies true"
echo " -l, --login <true|false> override 'login' config. -l implies true"
echo " -a, --album <album_title> Create new album and upload there"
echo " -A, --album_id <album_id> override 'album_id' config"
echo " -k, --keep <true|false> override 'keep_file' config. -k implies true"
echo " -d, --auto-delete <s> automatically delete image after <s> seconds"
echo " file upload file instead of taking a screenshot"
echo " -h, --help show this help, exit"
echo " -v, --version show current version, exit"
echo " --check Check if all dependencies are installed, exit"
echo " -c, --connect Show connected imgur account, exit"
echo " -o, --open <true|false> override 'open' config. -o implies true"
echo " -e, --edit <true|false> override 'edit' config. -e implies true"
echo " -l, --login <true|false> override 'login' config. -l implies true"
echo " -a, --album <album_title> Create new album and upload there"
echo " -A, --album_id <album_id> override 'album_id' config"
echo " -k, --keep_file <true|false> override 'keep_file' config. -k implies true"
echo " -d, --auto-delete <s> automatically delete image after <s> seconds"
echo " file upload file instead of taking a screenshot"
exit 0;;
-v | --version)
echo "$current_version"
Expand Down

0 comments on commit 0552e6d

Please sign in to comment.