update command line usage manual.

This commit is contained in:
ChunEon Park 2014-10-14 15:49:28 +09:00
parent 6987c66fdd
commit 7c16c5731d
3 changed files with 45 additions and 3 deletions

15
README
View File

@ -76,7 +76,20 @@ Ctrl+End = Go to the Bottom line
[Command Line Usage]
enventor --help
enventor [input file] [-id image path] [-sd sound path] [-fd font path] [-dd data path]
enventor [input file] [-to] [-id image path] [-sd sound path] [-fd font path] [-dd data path]
-input file = EDC file to open. If input file is skipped, Enventor will open a default template code with a temporary file.
-to = Open template menu when you launch Enventor
-id = image resources, that edc includes, path
-sd = sound resources, that edc includes, path
-fd = font resources, that edc includes, path
-dd = data resources, that edc includes, path
Examples of Enventor command line usage:
$ enventor
$ enventor -to
$ enventor newfile.edc -to
$ enventor sample.edc -id ./images -sd ./sounds
* FOR ANY ISSUES PLEASE EMAIL *

View File

@ -59,8 +59,21 @@ Ctrl+End = Go to the Bottom line
<font_size=11><b>[Command Line Usage]</b></font_size>
enventor --help
enventor [input file] [-id image path] [-sd sound path] [-fd font path] [-dd data path]
enventor [input file] [-to] [-id image path] [-sd sound path] [-fd font path] [-dd data path]
-input file = EDC file to open. If input file is skipped, Enventor will open a default template code with a temporary file.
-to = Open template menu when you launch Enventor
-id = image resources, that edc includes, path
-sd = sound resources, that edc includes, path
-fd = font resources, that edc includes, path
-dd = data resources, that edc includes, path
Examples of Enventor command line usage:
$ enventor
$ enventor -to
$ enventor newfile.edc -to
$ enventor sample.edc -id ./images -sd ./sounds
<font_size=11><b>[Authors]</b></font_size>

View File

@ -232,7 +232,23 @@ args_dispatch(int argc, char **argv, char *edc_path, char *img_path,
if ((argc >=2 ) && !strcmp(argv[1], "--help"))
{
fprintf(stdout, "Usage: enventor [input file] [-to] [-id image path]"
"[-sd sound path] [-fd font path] [-dd data path]\n");
"[-sd sound path] [-fd font path] [-dd data path]\n"
"\n"
"-input file = EDC file to open. If input file is skipped, "
"Enventor will open a default template code with a temporary "
"file.\n"
"-to = Open template menu when you launch Enventor\n"
"-id = image resources, that edc includes, path\n"
"-sd = sound resources, that edc includes, path\n"
"-fd = font resources, that edc includes, path\n"
"-dd = data resources, that edc includes, path\n"
"\n"
"Examples of Enventor command line usage:\n"
"$ enventor\n"
"$ enventor -to\n"
"$ enventor newfile.edc -to\n"
"$ enventor sample.edc -id ./images -sd ./sounds\n"
"\n");
exit(0);
}