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

* Added a 'new' command to rdclilogedit(1).
This commit is contained in:
Fred Gleason
2016-07-21 17:26:11 -04:00
parent fb5010fa98
commit 93538cc483
6 changed files with 88 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ 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, setcomment, setlabel, settime\n");
printf("load, new, quit, remove, save, saveas, setcart, setcomment, setlabel, settime\n");
printf("settrans, unload\n");
printf("\n");
printf("Enter \"? <cmd-name>\" for specific help.\n");
@@ -101,6 +101,14 @@ void MainObject::Help(const QStringList &cmds) const
printf("\n");
processed=true;
}
if(verb=="new") {
printf("\n");
printf(" new <log-name>\n");
printf("\n");
printf("Create a new, empty log called <log-name> in the edit buffer.\n");
printf("\n");
processed=true;
}
if(verb=="remove") {
printf("\n");
printf(" remove <line>\n");