Reset parameters to their defaults on command line
|Reported by:||SF/logicdeluxe||Owned by:||fingolfin|
Sometimes it is useful to undo a command line option
which was written to scummvm.ini before.
Therefore a "--default" prefix would be useful.
So you could tell ScummVM to remove the music-volume
settings from scummvm.ini with "--default-music-volume"
for example. Even more useful, you could disable debug
mode again with "--default-debuglevel" when you could
remove the debuglevel line from scummvm.ini with that.
This would be useful to almost all of the options.
Especially for those which you likely want to disable
again at some point, but have no way to do this except
for editing scummvm.ini for yourself, as those are
"--save-slot", "--boot-param" and "--debug-level". This
is really a bit anoing.
Besides this, the debug mode is a special case where an
option like "--no-debugmode" would be more intuitive
and logical. Maybe that should be implemented as well.
"--debugmode" then would set debuglevel to 0 and enable
debug mode, for example.
Ticket imported from: #833832. Ticket imported from: feature-requests/148.