diff options
author | Tobia Tesan | 2017-07-10 14:51:21 +0200 |
---|---|---|
committer | Thierry Crozat | 2017-08-06 19:14:13 +0100 |
commit | 426ec1f9897122706f4c298e76d32c72089ebf4a (patch) | |
tree | bd3a5c2e88269eea82acd9579d8305d6b73e394b /video/qt_decoder.h | |
parent | c3058ad0ee04de90d003dc13b911b26133052d6e (diff) | |
download | scummvm-rg350-426ec1f9897122706f4c298e76d32c72089ebf4a.tar.gz scummvm-rg350-426ec1f9897122706f4c298e76d32c72089ebf4a.tar.bz2 scummvm-rg350-426ec1f9897122706f4c298e76d32c72089ebf4a.zip |
CMD: Add --recursive option for adding & detection
New semantics is as follows:
[-p <dir>] --add adds all games in <dir> or
working dir
[-p <dir>] --detect enumerates dectected games in
<dir> with their ids
[-p <dir>] --game <id> --add adds just game <id> if found
in <dir> and not already added
[-p <dir>] --recursive --add adds all games in <dir> and
subdirs if not already added
[-p <dir>] --recursive --game <id> --add
adds just game <id> if found
in <dir> or its subdirs and
not already added
[-p <dir>] --recursive --detect enumerates games in <dir>
and subdirs
[-p <dir>] --auto-detect launches the first game
found in <dir>
[-p <dir>] --recursive --auto-detect
displays error message
The reason for the displaying an error message when attempting to do
autodetection on a whole tree is mainly one of UX, IMO it *might* get
confusing on a sufficiently large/deep tree.
The relevant if() can be removed safely if it's concluded that's not the
case.
Diffstat (limited to 'video/qt_decoder.h')
0 files changed, 0 insertions, 0 deletions