git » fp-git.git » commit 1ad1d16

new option added: xml-optimize

author ecalot
2006-01-06 23:37:35 UTC
committer ecalot
2006-01-06 23:37:35 UTC
parent a46490e78b6dc0c16cd3960b1b3e62705b6b26f5

new option added: xml-optimize

PR/src/include/common.h +4 -4
PR/src/include/en.lang.pr.h +4 -2

diff --git a/PR/src/include/common.h b/PR/src/include/common.h
index bcc8ba9..ba39e47 100644
--- a/PR/src/include/common.h
+++ b/PR/src/include/common.h
@@ -66,7 +66,7 @@ common.h: Princed Resources : Defines and prototypes common to all PR code
 
 #define PR_URL                    "http://www.princed.com.ar"
 #define PR_VERSION                "v1.2-dev"
-#define PR_COPY                   "(c) Copyright 2003 - 2005 Princed Development Team"
+#define PR_COPY                   "(c) Copyright 2003 - 2006 Princed Development Team"
 
 /***************************************************************\
 |                         Other defines                         |
@@ -161,13 +161,13 @@ typedef enum {
 {"cgi",         no_argument,       0,'g'},\
 {"help",        no_argument,       0,'?'},\
 {"resource",    required_argument, 0,'s'},\
-{"compression-level",required_argument, 0,'z'}\
-{"recursive",   no_argument,       0,'R'},\
+{"compression-level",required_argument, 0,'z'},\
+{"recursive",   no_argument,       0,'r'},\
 {"datfile",     required_argument, 0,'t'},\
 {"unknown",     no_argument,       0,2},\
 {"verbose",     no_argument,       0,'v'},\
 {"version",     no_argument,       0,1},\
-{"xml-optimize",required_argument, 0,3},\
+{"xml-optimize",required_argument, 0,3}\
 PARSING_OPTRAW\
 {0, 0, 0, 0}\
 }
diff --git a/PR/src/include/en.lang.pr.h b/PR/src/include/en.lang.pr.h
index 238e633..f344cde 100644
--- a/PR/src/include/en.lang.pr.h
+++ b/PR/src/include/en.lang.pr.h
@@ -138,9 +138,11 @@ NULL,NULL,NULL,\
 #define PARSING_RAW ""
 #endif
 #define PARSING_HELP_BEGIN "Usage: \n\
-  pr [OPTIONS] [-x[EXPORTDIR]|-m[IMPORTDIR]|-c] [DATFILEPATH[@resource1[,resource2...]]]...\n\
+  pr [OPTIONS] [-x[EXPORTDIR]|-m[IMPORTDIR]|-c] [DATFILEPATH[ ...]]\n\
   pr --help\n\
   pr --version\n\
+\n\
+   DATFILEPATH syntax is FILE.DAT[@[RESID][:RESINDEX][#ORDER], ...]\n\
 \n\
   Mandatory arguments to long options are mandatory for short options too.\n\
 \n"
@@ -159,7 +161,7 @@ NULL,NULL,NULL,\
 "PARSING_SHOWRAW(PARSING_RAW)
 
 #define PARSING_HELP_PART3 "\
-   -R, --recursive            searches for all dat files (only if DATFILEPATH\n\
+   -r, --recursive            searches for all dat files (only if DATFILEPATH\n\
                               is not a dat file)\n\
    -t, --datfile=DATFILE      specifies a dat file to read resources\n\
                               different than the original file\n\