Add exit after help
This commit is contained in:
parent
f5cd404832
commit
2d723aa5b5
@ -12,6 +12,7 @@ elif [ $1 == "-h" ] || [ $1 == "--help" ]; then
|
||||
echo "sc-compress ALGORITHM [STRENGTH] TARGET"
|
||||
echo "Algorithms: xz, zstd"
|
||||
echo "Strength: low, medium, high"
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user