Skip to content

Commit 7303f9b

Browse files
committed
Adding usage output
1 parent 4ca7188 commit 7303f9b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎test/tor-browser.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ die() {
2222

2323
# Unzip the Tor Browser archive to a temporary directory
2424
if [ ! -f "$1" ] && [ "`echo $1 | tail -c 8 | head -c 7`" != ".tar.xz" ]; then
25+
echo "Usage: $0 [path_to_tor_archive]"
26+
echo
2527
die "File provided is not a valid Tor Browser archive."
2628
fi
2729

0 commit comments

Comments
 (0)