2016-07-21 Fred Gleason <fredg@paravelsystems.com>

* Added a 'settime' command to rdclilogedit(1).
	* Added a 'setmarker' command to rdclilogedit(1).
	* Added a 'settrack' command to rdclilogedit(1).
This commit is contained in:
Fred Gleason
2016-07-21 14:21:25 -04:00
parent c388bda77b
commit 2af6845d6e
6 changed files with 348 additions and 187 deletions

View File

@@ -27,8 +27,8 @@ void MainObject::Help(const QStringList &cmds) const
if(cmds.size()==1) {
printf("\n");
printf("The following commands are available:\n");
printf("?, addcart, bye, exit, help, list, listlogs, load, quit, remove,\n");
printf("save, saveas, setcart, settime, settrans, unload\n");
printf("?, addcart, addchain, addmarker, addtrack, bye, exit, help, list, listlogs,\n");
printf("load, quit, remove, save, saveas, setcart, settime, settrans, unload\n");
printf("\n");
printf("Enter \"? <cmd-name>\" for specific help.\n");
printf("\n");
@@ -44,6 +44,30 @@ void MainObject::Help(const QStringList &cmds) const
printf("\n");
processed=true;
}
if(verb=="addmarker") {
printf("\n");
printf(" addmarker <line>\n");
printf("\n");
printf("Add a new marker event before line <line>.\n");
printf("\n");
processed=true;
}
if(verb=="addchain") {
printf("\n");
printf(" addchain <line> <log-name>\n");
printf("\n");
printf("Add a new chain-to event before line <line> pointing to <log-name>.\n");
printf("\n");
processed=true;
}
if(verb=="addtrack") {
printf("\n");
printf(" addtrack <line>\n");
printf("\n");
printf("Add a new track event before line <line>.\n");
printf("\n");
processed=true;
}
if((verb=="bye")||(verb=="exit")||(verb=="quit")) {
printf("\n");
printf(" %s\n",(const char *)cmds[1]);