std::cout<<'\t'<<prg_name<<" --help: "<<tr("displays this help message").toLocal8Bit().data()<<std::endl;
std::cout<<'\t'<<prg_name<<" --webui-port=x: "<<tr("changes the webui port (current: %1)").arg(QString::number(Preferences::getWebUiPort())).toLocal8Bit().data()<<std::endl;
std::cout<<'\t'<<prg_name<<""<<tr("[files or urls]: downloads the torrents passed by the user (optional)").toLocal8Bit().data()<<std::endl;
std::cout<<'\t'<<prg_name<<" --help: "<<qPrintable(tr("displays this help message"))<<std::endl;
std::cout<<'\t'<<prg_name<<" --webui-port=x: "<<qPrintable(tr("changes the webui port (current: %1)").arg(QString::number(Preferences::getWebUiPort())))<<std::endl;
std::cout<<'\t'<<prg_name<<""<<qPrintable(tr("[files or urls]: downloads the torrents passed by the user (optional)"))<<std::endl;
std::cout<<tr("qBittorrent is a file sharing program. When you run a torrent, its data will be made available to others by means of upload. Any content you share is your sole responsibility.\n\nNo further notices will be issued.").toLocal8Bit().data()<<std::endl<<std::endl;
std::cout<<tr("Press %1 key to accept and continue...").arg("'y'").toLocal8Bit().data()<<std::endl;
std::cout<<qPrintable(tr("qBittorrent is a file sharing program. When you run a torrent, its data will be made available to others by means of upload. Any content you share is your sole responsibility.\n\nNo further notices will be issued."))<<std::endl<<std::endl;
std::cout<<qPrintable(tr("Press %1 key to accept and continue...").arg("'y'"))<<std::endl;
charret=getchar();// Read pressed key
if(ret=='y'||ret=='Y'){
// Save the answer
@ -220,21 +220,21 @@ int main(int argc, char *argv[]){
@@ -220,21 +220,21 @@ int main(int argc, char *argv[]){