1
0
mirror of https://github.com/ElvishArtisan/rivendell.git synced 2025-06-16 16:10:08 +02:00

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
ChangeLog
utils/rdclilogedit

@ -15349,3 +15349,6 @@
2016-07-21 Fred Gleason <fredg@paravelsystems.com> 2016-07-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'setcomment' command to rdclilogedit(1). * Added a 'setcomment' command to rdclilogedit(1).
* Added a 'setlabel' 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.

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