Simplify argument parsing in yt-conv.

This commit is contained in:
2025-12-23 15:28:16 +01:00
parent aede3e6ccd
commit 5336bfe589

View File

@@ -26,9 +26,7 @@ if [ $# -ne 1 ]
then
>&2 echo "Usage: $0 <url>"
exit 1
fi
if [ "$1" = "-h" ]
elif [ "$1" = "-h" ]
then
echo "Usage: $0 <url>"
exit 0