diff --git a/reddit_image_downloader b/reddit_image_downloader index a9f1d4a..98eaea2 100755 --- a/reddit_image_downloader +++ b/reddit_image_downloader @@ -16,7 +16,7 @@ sort=$2 number=$3 top_time=$4 -if [ -z $subreddit ]; then +if [ "$1" == "-h" ] || [ -z $subreddit ]; then usage fi