[Scummvm-git-logs] scummvm master -> 6d2fd12bb4e47939604cc601ecb053fc811e0d6b

criezy criezy at scummvm.org
Sun Oct 30 00:41:56 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6d2fd12bb4 BASE: Clarify how to specify a path in help for the auto-detect command


Commit: 6d2fd12bb4e47939604cc601ecb053fc811e0d6b
    https://github.com/scummvm/scummvm/commit/6d2fd12bb4e47939604cc601ecb053fc811e0d6b
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2016-10-29T23:41:21+01:00

Commit Message:
BASE: Clarify how to specify a path in help for the auto-detect command

Changed paths:
    README
    base/commandLine.cpp



diff --git a/README b/README
index da6d291..e674bf0 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 0c3d5d1..0a900c4 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





More information about the Scummvm-git-logs mailing list