X-Git-Url: https://iankelling.org/git/?p=lnf;a=blobdiff_plain;f=lnf;h=2518c1c4ac60cf35147ba72bdc886c252759bbe2;hp=1e11bfd27c1febca70e4ec8618c41ed19962343a;hb=df814ed22cf0dfb2f93cc4c228099d36c40b6fae;hpb=5fe6031a10b7625809448c6710be059a393164a5 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