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

* Implemented '!' override character in rdclilogedit(1) for the
	'exit' command.
This commit is contained in:
Fred Gleason 2016-07-21 14:51:05 -04:00
parent 933b318eb1
commit d8a6fb56e4
2 changed files with 10 additions and 1 deletions

View File

@ -15349,3 +15349,6 @@
2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'setcomment' command to rdclilogedit(1).
* Added a 'setlabel' command to rdclilogedit(1).
2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Implemented '!' override character in rdclilogedit(1) for the
'exit' command.

View File

@ -176,7 +176,13 @@ void MainObject::DispatchCommand(QString cmd)
// No loaded log needed for these
//
if((verb=="exit")||(verb=="quit")||(verb=="bye")) {
exit(0);
if(overwrite) {
exit(0);
}
else {
OverwriteError(verb);
}
processed=true;
}
if((verb=="help")||(verb=="?")) {