mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-31 08:02:43 +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:
parent
933b318eb1
commit
d8a6fb56e4
@ -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.
|
||||
|
@ -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=="?")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user