mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-25 23:00:21 +01:00
2016-07-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'save' command to rdclilogedit(1) in 'utils/rdclilogedit/rdclilogedit.cpp' and 'utils/rdclilogedit/rdclilogedit.h'. * Added a 'saveas' command to rdclilogedit(1) in 'utils/rdclilogedit/rdclilogedit.cpp' and 'utils/rdclilogedit/rdclilogedit.h'.
This commit is contained in:
@@ -27,7 +27,8 @@ void MainObject::Help(const QStringList &cmds) const
|
||||
if(cmds.size()==1) {
|
||||
printf("\n");
|
||||
printf("The following commands are available:\n");
|
||||
printf("?, bye, exit, help, list, listlogs, load, quit, unload\n");
|
||||
printf("?, bye, exit, help, list, listlogs, load, quit, save, saveas,\n");
|
||||
printf("setcart, unload\n");
|
||||
printf("\n");
|
||||
printf("Enter \"? <cmd-name>\" for specific help.\n");
|
||||
printf("\n");
|
||||
@@ -67,6 +68,22 @@ void MainObject::Help(const QStringList &cmds) const
|
||||
printf("\n");
|
||||
processed=true;
|
||||
}
|
||||
if(verb=="save") {
|
||||
printf("\n");
|
||||
printf(" save\n");
|
||||
printf("\n");
|
||||
printf("Save the contents of the edit buffer.\n");
|
||||
printf("\n");
|
||||
processed=true;
|
||||
}
|
||||
if(verb=="saveas") {
|
||||
printf("\n");
|
||||
printf(" saveas <log-name>\n");
|
||||
printf("\n");
|
||||
printf("Save the contents of the edit buffer to new log <log-name>.\n");
|
||||
printf("\n");
|
||||
processed=true;
|
||||
}
|
||||
if(verb=="setcart") {
|
||||
printf("\n");
|
||||
printf(" setcart <line> <cart-num>\n");
|
||||
|
||||
Reference in New Issue
Block a user