aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README3
-rw-r--r--base/commandLine.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index da6d291591..e674bf0a72 100644
--- a/README
+++ b/README
@@ -1309,7 +1309,8 @@ arguments -- see the next section.
-z, --list-games Display list of supported games and exit
-t, --list-targets Display list of configured targets and exit
--list-saves=TARGET Display a list of saved games for the game (TARGET) specified
- --auto-detect Display a list of games from current or specified directory
+ --auto-detect Display a list of games from current or specified directory.
+ Use --path=PATH before --auto-detect to specify a directory.
--console Enable the console window (default: enabled) (Windows only)
-c, --config=CONFIG Use alternate configuration file
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 0c3d5d1610..0a900c47a8 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -69,6 +69,7 @@ static const char HELP_STRING[] =
" -t, --list-targets Display list of configured targets and exit\n"
" --list-saves=TARGET Display a list of saved games for the game (TARGET) specified\n"
" --auto-detect Display a list of games from current or specified directory\n"
+ " Use --path=PATH before --auto-detect to specify a directory.\n"
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
" --console Enable the console window (default:enabled)\n"
#endif