From 7c16c5731de42e678c4049074a41a9b5c8358ea3 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Tue, 14 Oct 2014 15:49:28 +0900 Subject: [PATCH] update command line usage manual. --- README | 15 ++++++++++++++- data/about/ABOUT | 15 ++++++++++++++- src/bin/main.c | 18 +++++++++++++++++- 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/README b/README index 3c5859e..eb1adf6 100644 --- a/README +++ b/README @@ -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 * diff --git a/data/about/ABOUT b/data/about/ABOUT index fe13398..3b7a3a3 100644 --- a/data/about/ABOUT +++ b/data/about/ABOUT @@ -59,8 +59,21 @@ 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 + [Authors] diff --git a/src/bin/main.c b/src/bin/main.c index d9e609c..c1da043 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -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); }