Simplify argument parsing in yt-conv.

This commit is contained in:
nortega committed 2025-12-23 15:28:16 +01:00
1 parent aede3e6ccd
commit 5336bfe589
1 file changed
+1 -3
+1 -3
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