Minor tweak

This commit is contained in:
Bruce Hill 2019-02-14 19:41:32 -08:00
parent 6e6d0d35f2
commit f9b9404515

View File

@ -6,7 +6,7 @@ complicated. It's much nicer to be able to write shell scripts like this:
```
#!/bin/sh
dir=`arg --dir "$@" || arg -d "$@" || echo "$HOME/Downloads"`
if arg -v "$@" || arg --verbose "$@"; then
if arg --verbose "$@" || arg -v "$@"; then
echo "Downloading to $dir"
fi
cd $path && curl -O example.com/file.zip