commit 377a6c1d9ec0f0cc7b399da6bc4cc218f9b04054 parent 406c249e9916a872de4939954d95ce7358b5e041 Author: clamiax <smoppy@gmail.com> Date: Sun, 5 Jan 2014 20:47:25 +0000 Add -s flag (SOURCES) Diffstat:
M | scrapthumb | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scrapthumb b/scrapthumb @@ -33,9 +33,10 @@ preload() { } main() { - while getopts "n:" opt; do + while getopts "n:s:" opt; do case $opt in n) MAXIMGS=$OPTARG;; + s) SOURCES=($OPTARG);; esac done