diff options
Diffstat (limited to 'xohtml/xohtml.sh.in')
-rw-r--r-- | xohtml/xohtml.sh.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xohtml/xohtml.sh.in b/xohtml/xohtml.sh.in index f6c2fdbc99ff5..aeb5d7baa806a 100644 --- a/xohtml/xohtml.sh.in +++ b/xohtml/xohtml.sh.in @@ -10,8 +10,10 @@ # BASE=@XO_SHAREDIR@ +VERSION=@LIBXO_VERSION@ CMD=cat DONE= +WEB=http://juniper.github.io/libxo/${VERSION}/xohtml do_help () { echo "xohtml: wrap libxo-enabled output in HTML" @@ -41,6 +43,11 @@ while [ -z "$DONE" -a ! -z "$1" ]; do shift; exec > "$FILE"; ;; + -w|--web) + shift; + BASE="${WEB}"; + ;; + -*) do_help ;; |