hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=7c16c5731de42e678c4049074a41a9b5c8358ea3

commit 7c16c5731de42e678c4049074a41a9b5c8358ea3
Author: ChunEon Park <[email protected]>
Date:   Tue Oct 14 15:49:28 2014 +0900

    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
 <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>
  
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);
      }
 

-- 


Reply via email to