X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=video%2Fff_catvideo;h=34aafd2f7617457e2271be9ca6e98d333469198e;hb=2f4a0ee0d5b6f5ece46274ef96441d93c09482b5;hp=852a349f664d6499680481118cd4a14d2f765e1c;hpb=8f5773905de15194fe3ae88499be8ec615a55587;p=audio-cdr-video.git diff --git a/video/ff_catvideo b/video/ff_catvideo index 852a349..34aafd2 100755 --- a/video/ff_catvideo +++ b/video/ff_catvideo @@ -1,12 +1,13 @@ #! /bin/sh -if [ -z "$2" ]; then - echo "Usage: $0 output.avi input1.avi [input2.avi...]" +if [ -z "$1" ]; then + echo "Usage: [output=output.avi] $0 input1 [input2...]" exit 1 fi -output="$1" -shift +if [ -z "$output" ]; then + output=output.avi +fi i=1 for input in "$@"; do