Browse Source

Reword some comments

pull/2/merge
Luke Childs 8 years ago
parent
commit
9b24bedfa6
  1. 4
      gifgen

4
gifgen

@ -46,13 +46,13 @@ done
# Show help and exit if we have no input # Show help and exit if we have no input
[[ "$input" = "" ]] || [[ $show_help = true ]] && show_help && exit [[ "$input" = "" ]] || [[ $show_help = true ]] && show_help && exit
# If we're not just showing help check we have ffmpeg # Check for ffmpeg before encoding
type ffmpeg >/dev/null 2>&1 || { type ffmpeg >/dev/null 2>&1 || {
echo "Error: gifgen requires ffmpeg to be installed" echo "Error: gifgen requires ffmpeg to be installed"
exit 1 exit 1
} }
# Set output filename if not specified # Set output if not specified
input_filename=${input##*/} input_filename=${input##*/}
output=${input_filename%.*}.gif output=${input_filename%.*}.gif

Loading…
Cancel
Save