iankelling.org
/
git
/
lnf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fe6031
)
add -h arg for help
author
Ian Kelling
<ian@iankelling.org>
Wed, 16 Nov 2016 18:10:38 +0000
(10:10 -0800)
committer
Ian Kelling
<ian@iankelling.org>
Wed, 16 Nov 2016 18:10:38 +0000
(10:10 -0800)
lnf
patch
|
blob
|
history
diff --git
a/lnf
b/lnf
index 1e11bfd27c1febca70e4ec8618c41ed19962343a..2518c1c4ac60cf35147ba72bdc886c252759bbe2 100755
(executable)
--- 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