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