mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2021-11-24 Fred Gleason <fredg@paravelsystems.com>
* Added a '--check-strings' switch to rddbmgr(8). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -58,6 +58,7 @@ MainObject::MainObject(QObject *parent)
|
||||
db_check_orphaned_carts=false;
|
||||
db_check_orphaned_cuts=false;
|
||||
db_check_orphaned_tracks=false;
|
||||
db_check_strings=false;
|
||||
|
||||
//
|
||||
// Check that we're 'root'
|
||||
@@ -230,6 +231,11 @@ MainObject::MainObject(QObject *parent)
|
||||
db_check_orphaned_tracks=true;
|
||||
cmd->setProcessed(i,true);
|
||||
}
|
||||
if(cmd->key(i)=="--check-strings") {
|
||||
db_check_all=false;
|
||||
db_check_strings=true;
|
||||
cmd->setProcessed(i,true);
|
||||
}
|
||||
|
||||
if(!cmd->processed(i)) {
|
||||
fprintf(stderr,"rddbmgr: unrecognized option \"%s\"\n",
|
||||
|
Reference in New Issue
Block a user