X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=conflink;h=a763c22a03eb2d29db832a3eed473d322d4e9b11;hb=efcfe83c7df501547696e38d822232e67b94644f;hp=30d868e4dae606d244bc2decb19126fda8d70799;hpb=7e4f3d0a6130b69b7f76a3ff13e510ffbeb1484b;p=distro-setup diff --git a/conflink b/conflink index 30d868e..a763c22 100755 --- a/conflink +++ b/conflink @@ -24,8 +24,12 @@ m() { s() { sudo "$@"; } lnf() { /a/exe/lnf "$@"; } -if [[ $1 == -f ]]; then +if [[ $1 == -f ]]; then # f for fast lnf() { ln -sf "$@"; } +elif + [[ $1 ]]; then + echo "error: unrecognized arguments" >&2 + exit 0 fi shopt -s nullglob