From 933b318eb1adc48a13a1a7ad58d6e70b0ce09ec5 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Thu, 21 Jul 2016 14:43:17 -0400 Subject: [PATCH] 2016-07-21 Fred Gleason * Added a 'setcomment' command to rdclilogedit(1). * Added a 'setlabel' command to rdclilogedit(1). --- ChangeLog | 3 ++ utils/rdclilogedit/help.cpp | 19 ++++++++++- utils/rdclilogedit/operations.cpp | 50 +++++++++++++++++++++++++++++ utils/rdclilogedit/rdclilogedit.cpp | 34 ++++++++++++++++++++ utils/rdclilogedit/rdclilogedit.h | 2 ++ 5 files changed, 107 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 84069bb6..46c8af9b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15346,3 +15346,6 @@ * Added a 'addchain' command to rdclilogedit(1). * Added a 'addmarker' command to rdclilogedit(1). * Added a 'addtrack' command to rdclilogedit(1). +2016-07-21 Fred Gleason + * Added a 'setcomment' command to rdclilogedit(1). + * Added a 'setlabel' command to rdclilogedit(1). diff --git a/utils/rdclilogedit/help.cpp b/utils/rdclilogedit/help.cpp index f2a4c5e2..532c8a3a 100644 --- a/utils/rdclilogedit/help.cpp +++ b/utils/rdclilogedit/help.cpp @@ -28,7 +28,8 @@ void MainObject::Help(const QStringList &cmds) const printf("\n"); printf("The following commands are available:\n"); printf("?, addcart, addchain, addmarker, addtrack, bye, exit, help, list, listlogs,\n"); - printf("load, quit, remove, save, saveas, setcart, settime, settrans, unload\n"); + printf("load, quit, remove, save, saveas, setcart, setcomment, setlabel, settime\n"); + printf("settrans, unload\n"); printf("\n"); printf("Enter \"? \" for specific help.\n"); printf("\n"); @@ -132,6 +133,22 @@ void MainObject::Help(const QStringList &cmds) const printf("\n"); processed=true; } + if(verb=="setcomment") { + printf("\n"); + printf(" setcomment \n"); + printf("\n"); + printf("Set the marker or track event's \"Comment\" field at line to .\n"); + printf("\n"); + processed=true; + } + if(verb=="setlabel") { + printf("\n"); + printf(" setlabel \n"); + printf("\n"); + printf("Set the chain-to or marker event's \"Label\" field at line to .\n"); + printf("\n"); + processed=true; + } if(verb=="settime") { printf("\n"); printf(" settime hard|none