summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-15 17:52:27 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-15 17:52:27 -0800
commit760ff1dc147ded36b1235fd5988742d363a8c63d (patch)
tree72f5005719fb505aada6d33bfd78cde9b80c7ff6
parente20eb9912f0f1f4b2fd9a223535a15c8d907d33e (diff)
downloadxmlto-760ff1dc147ded36b1235fd5988742d363a8c63d.tar.gz
xmlto-760ff1dc147ded36b1235fd5988742d363a8c63d.tar.bz2
xmlto-760ff1dc147ded36b1235fd5988742d363a8c63d.zip
xmlto-xsltopts
===================================================================
-rwxr-xr-xxmlto.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/xmlto.in b/xmlto.in
index f4570cc..41e4afa 100755
--- a/xmlto.in
+++ b/xmlto.in
@@ -38,6 +38,7 @@ OPTIONs are:
-o directory put output in the specified directory instead of
the current working directory
-p postprocopts pass option to postprocessor
+ --xsltopts use xsltproc command line options
--extensions turn on stylesheet extensions for this tool chain
--noautosize do not autodetect paper size via locales or paperconf
--noclean temp files are not deleted automatically
@@ -262,7 +263,7 @@ ZIP_PATH=@ZIP@
# Process any options
ARGS=$(${GETOPT} \
- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \
+ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex,xsltopts: \
-n xmlto -- x:m:o:p:v "$@")
[ $? != 0 ] && { usage; exit 1; }
eval set -- "$ARGS"
@@ -383,6 +384,10 @@ while [ "$#" -gt "0" ]; do
fi
shift
;;
+ --xsltopts)
+ XSLTOPTS="$XSLTOPTS $2"
+ shift 2
+ ;;
--)
shift
break