Added -h for help. Closes #7

This commit is contained in:
Dylan Araps 2020-08-05 08:14:26 +03:00
parent d62f4bf798
commit 0e0759c480
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 6 additions and 1 deletions

7
shfm
View File

@ -224,8 +224,13 @@ main() {
set -e
case $1 in
-h)
printf 'shfm -[hv]\n'
exit 0
;;
-v)
printf '%s 0.2\n' "${0##*/}"
printf 'shfm 0.3\n'
exit 0
;;
esac