Correct some commenting
This commit is contained in:
parent
bd61e5fabf
commit
89ebdfdbb8
4
ptgdp
4
ptgdp
@ -392,11 +392,13 @@ main() {
|
|||||||
# Pre-really-do-stuff hooks like help text
|
# Pre-really-do-stuff hooks like help text
|
||||||
[ -n "$_opthelp" ] && printhelp && exit 0
|
[ -n "$_opthelp" ] && printhelp && exit 0
|
||||||
|
|
||||||
# Do the do
|
# Ensure we're ready to do the do
|
||||||
log "Validating dependencies" 2
|
log "Validating dependencies" 2
|
||||||
if ! has youtube-dl pgrep; then
|
if ! has youtube-dl pgrep; then
|
||||||
error "Failed to find program: $_return" 1
|
error "Failed to find program: $_return" 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Do the do
|
||||||
if [ -n "${_args[*]}" ]; then
|
if [ -n "${_args[*]}" ]; then
|
||||||
# Files specified on the command line have priority
|
# Files specified on the command line have priority
|
||||||
for arg in "${_args[@]}"; do
|
for arg in "${_args[@]}"; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user