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

Commit e5678f5

Browse files
committed
Merge branch 'master' of github.com:jomo/imgur-screenshot
2 parents a79d031 + 1b25e37 commit e5678f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

imgur-screenshot.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ while [ ${#} != 0 ]; do
392392
case "${1}" in
393393
-h | --help)
394394
echo "usage: ${0} [--debug] [-c | --check | -v | -h | -u]"
395-
echo " ${0} [--debug] [optiion]... [file]..."
395+
echo " ${0} [--debug] [option]... [file]..."
396396
echo ""
397397
echo " --debug Enable debugging, must be first option"
398398
echo " -h, --help Show this help, exit"
@@ -401,6 +401,7 @@ while [ ${#} != 0 ]; do
401401
echo " -c, --connect Show connected imgur account, exit"
402402
echo " -o, --open <true|false> Override 'open' config"
403403
echo " -e, --edit <true|false> Override 'edit' config"
404+
echo " -i, --edit-command <command> Override 'edit_command' config (include '%img'), sets --edit 'true'"
404405
echo " -l, --login <true|false> Override 'login' config"
405406
echo " -a, --album <album_title> Create new album and upload there"
406407
echo " -A, --album-id <album_id> Override 'album_id' config"
@@ -427,6 +428,10 @@ while [ ${#} != 0 ]; do
427428
-e | --edit)
428429
edit="${2}"
429430
shift 2;;
431+
-i | --edit-command)
432+
edit_command="${2}"
433+
edit="true"
434+
shift 2;;
430435
-l | --login)
431436
login="${2}"
432437
shift 2;;

0 commit comments

Comments
 (0)