From df814ed22cf0dfb2f93cc4c228099d36c40b6fae Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Wed, 16 Nov 2016 10:10:38 -0800 Subject: [PATCH] add -h arg for help --- lnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnf b/lnf index 1e11bfd..2518c1c 100755 --- a/lnf +++ b/lnf @@ -17,7 +17,7 @@ In the 1st form, create a link to TARGET with the name LINK_NAME. In the 2nd form, create a link to TARGET in the current directory. In the 3rd form, create links to each TARGET in DIRECTORY." - if [[ $1 == --help || $# -eq 0 ]]; then + if [[ $1 == --help || $1 == -h || $# -eq 0 ]]; then echo "$help" return 0 fi -- 2.30.2