Adding exit function and bugfix
Took 4 minutes
This commit is contained in:
parent
186ca6c85a
commit
425f72c9cd
@ -38,7 +38,7 @@ function main()
|
|||||||
break;
|
break;
|
||||||
case 'downloadmusic':
|
case 'downloadmusic':
|
||||||
echo "This function has an old CLI! Opening CLI...\n-----------\n";
|
echo "This function has an old CLI! Opening CLI...\n-----------\n";
|
||||||
$audiovideo = new AudioVideoHandler();
|
new AudioVideoHandler();
|
||||||
echo "CLI exited. Continue with new CLI...\n";
|
echo "CLI exited. Continue with new CLI...\n";
|
||||||
break;
|
break;
|
||||||
case 'setsid':
|
case 'setsid':
|
||||||
@ -49,6 +49,9 @@ function main()
|
|||||||
}
|
}
|
||||||
echo "Function not completed yet!\n";
|
echo "Function not completed yet!\n";
|
||||||
break;
|
break;
|
||||||
|
case 'exit':
|
||||||
|
echo "Have a nice dayyyy!!\n";
|
||||||
|
exit();
|
||||||
default:
|
default:
|
||||||
echo "Unkown command. Use help for help.\n";
|
echo "Unkown command. Use help for help.\n";
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user