Minor tweak
This commit is contained in:
parent
6e6d0d35f2
commit
f9b9404515
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user