Add help -h flag.
This commit is contained in:
parent
a8528fcff1
commit
b574927ebd
|
@ -16,7 +16,7 @@ sort=$2
|
||||||
number=$3
|
number=$3
|
||||||
top_time=$4
|
top_time=$4
|
||||||
|
|
||||||
if [ -z $subreddit ]; then
|
if [ "$1" == "-h" ] || [ -z $subreddit ]; then
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue