Scripts will display only filename instead of full path in echo messages

This commit is contained in:
Matheus Albino
2024-06-26 15:45:39 -03:00
parent f35119599f
commit a0025ab1db
11 changed files with 13 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
show_help() {
echo "Usage: $0 [--input|-i input_file] [--crop|-c width:height] [--trim-start start] [--trim-end end] [--crf crf_value] [--fps new_fps] [--scale640] [--merge-audio] [--remove-audio] --output|-o output_file"
echo "Usage: `basename $0` [--input|-i input_file] [--crop|-c width:height] [--trim-start start] [--trim-end end] [--crf crf_value] [--fps new_fps] [--scale640] [--merge-audio] [--remove-audio] --output|-o output_file"
echo "Options:"
echo " --input|-i Specify the input video file (required)."
echo " --crop|-c Specify the width:height for video cropping."