|
|
@@ -17,27 +17,28 @@ static void help(const char* msg = NULL)
|
|
|
"Copyright (c) 2012-2017 Daniele Bartolini and individual contributors.\n"
|
|
|
"License: https://github.com/dbartolini/crown/blob/master/LICENSE\n"
|
|
|
"\n"
|
|
|
- "Complete documentation available at https://dbartolini.github.io/crown/html\n"
|
|
|
- "\n"
|
|
|
"Usage:\n"
|
|
|
" crown [options]\n"
|
|
|
"\n"
|
|
|
"Options:\n"
|
|
|
- " -h --help Display this help.\n"
|
|
|
- " -v --version Display engine version.\n"
|
|
|
- " --source-dir <path> Use <path> as the source directory for resource compilation.\n"
|
|
|
- " --data-dir <path> Use <path> as the destination directory for compiled resources.\n"
|
|
|
- " --boot-dir <path> Boot the engine with the 'boot.config' from given <path>.\n"
|
|
|
- " --compile Do a full compile of the resources.\n"
|
|
|
- " --platform <platform> Compile resources for the given <platform>.\n"
|
|
|
+ " -h --help Display this help.\n"
|
|
|
+ " -v --version Display engine version.\n"
|
|
|
+ " --source-dir <path> Use <path> as the source directory for resource compilation.\n"
|
|
|
+ " --data-dir <path> Use <path> as the destination directory for compiled resources.\n"
|
|
|
+ " --map-source-dir <name> <path> Mount <path>/<name> at <source-dir>/<name>.\n"
|
|
|
+ " --boot-dir <prefix> Use <prefix>/boot.config to boot the engine.\n"
|
|
|
+ " --compile Do a full compile of the resources.\n"
|
|
|
+ " --platform <platform> Compile resources for the given <platform>.\n"
|
|
|
" linux\n"
|
|
|
" windows\n"
|
|
|
" android\n"
|
|
|
- " --continue Run the engine after resource compilation.\n"
|
|
|
- " --console-port <port> Set port of the console.\n"
|
|
|
- " --wait-console Wait for a console connection before starting up.\n"
|
|
|
- " --parent-window <handle> Set the parent window <handle> of the main window.\n"
|
|
|
- " --server Run the engine in server mode.\n"
|
|
|
+ " --continue Run the engine after resource compilation.\n"
|
|
|
+ " --console-port <port> Set port of the console.\n"
|
|
|
+ " --wait-console Wait for a console connection before starting up.\n"
|
|
|
+ " --parent-window <handle> Set the parent window <handle> of the main window.\n"
|
|
|
+ " --server Run the engine in server mode.\n"
|
|
|
+ "\n"
|
|
|
+ "Complete documentation available at https://dbartolini.github.io/crown/html\n"
|
|
|
);
|
|
|
|
|
|
if (msg)
|