Yes, you first need to tell zim that you want to start a server: zim --server --template ...
Regards, Jaap On Tue, Feb 24, 2015 at 11:25 AM, WEHLER Andreas < andreas.weh...@thalesgroup.com> wrote: > Hi. > > Zim 0.62; Ubuntu 14.04 > > While looking for the possibility to select a given template for the > built-in WEB server I've just found the related command line arguments > cited below. > > But the start of zim fails this way, with any given template: > > zim --template Default_with_index > /usr/bin/zim: option --template not recognized > > > Do I something wrong? > > Thanks, > > Andreas > > # ======== From the help page: Help:Commandline Options =============== > General Options: > --gui run the editor (this is the default) > --server run the web server > --export export to a different format > > Server Options: > --port port to use (defaults to 8080) > --template name of the template to use > --gui run the gui wrapper for the server > > Export Options: > -o, --output output directory (mandatory option) > --format format to use (defaults to 'html') > --template name of the template to use > _______________________________________________ > Mailing list: https://launchpad.net/~zim-wiki > Post to : zim-wiki@lists.launchpad.net > Unsubscribe : https://launchpad.net/~zim-wiki > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp