mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-12-13 16:16:36 +01:00
2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -26,19 +26,20 @@
|
||||
|
||||
#include <rdcmd_switch.h>
|
||||
|
||||
RDCmdSwitch::RDCmdSwitch(int argc,char *argv[],const char *modname,
|
||||
const char *usage)
|
||||
RDCmdSwitch::RDCmdSwitch(int argc,char *argv[],const QString &modname,
|
||||
const QString &usage)
|
||||
{
|
||||
switch_debug=false;
|
||||
|
||||
for(int i=1;i<argc;i++) {
|
||||
QString value=QString::fromUtf8(argv[i]);
|
||||
if(value=="--version") {
|
||||
printf("Rivendell v%s [%s]\n",VERSION,modname);
|
||||
printf("Rivendell v%s [%s]\n",VERSION,modname.toUtf8().constData());
|
||||
exit(0);
|
||||
}
|
||||
if(value=="--help") {
|
||||
printf("\n%s %s\n",modname,usage);
|
||||
printf("\n%s %s\n",modname.toUtf8().constData(),
|
||||
usage.toUtf8().constData());
|
||||
exit(0);
|
||||
}
|
||||
if(value=="-d") {
|
||||
|
||||
Reference in New Issue
Block a user