diff --git a/karaoke-management.php b/karaoke-management.php index 6b77c32..97caa77 100644 --- a/karaoke-management.php +++ b/karaoke-management.php @@ -32,14 +32,18 @@ function main() $downloader->requestSong( $cmd[1] ); } catch ( RuntimeException $e ) { - echo "An error occured while processing the download.\n"; + echo "An error occurred while processing the download.\n"; echo $e->getMessage() . "\n"; } break; case 'downloadmusic': - echo "This function has an old CLI! Opening CLI...\n-----------\n"; + if( isset( $cmd[1] ) ) + { + echo "In this version, passing arguments to this function is not supported. Arguments will be ignored!\n"; + } + echo "Loading another CLI...\n-----------\n"; new AudioVideoHandler(); - echo "CLI exited. Continue with new CLI...\n"; + echo "CLI exited. Continue with main CLI...\n"; break; case 'setsid': if( !isset( $cmd[1] ) )