helpers/usage
author František Kučera <franta-hg@frantovo.cz>
Sun Oct 30 22:15:03 2011 +0100 (2011-10-30)
changeset 113 a059aecd1794
parent 3 2fdc9cc89502
permissions -rwxr-xr-x
Ověřování uživatelů: uživatele budeme mít jako objekt, ne jen jako String/boolean – aby šel rozšiřovat o případné další informace.
chris@1
     1
java -jar sonews.jar [arguments]
chris@1
     2
        where arguments:
cli@21
     3
   -c|-config <config file>    If custom config file preferred
cli@21
     4
   -dumpjdbcdriver             Prints out a list of available JDBC drivers
cli@21
     5
   -feed                       Enables feed daemon for pulling/pushing news
cli@21
     6
                                from/to peer servers
cli@21
     7
   -h|-help                    This output
cli@21
     8
   -mlgw                       Enables the Mailinglist Gateway poller
cli@21
     9
   -p <port>                   Forces sonews to listen on the specified port
cli@21
    10
   -plugin <name|class|file>   Loads the given plugin.
cli@21
    11
   -plugin-command <class>     Loads the given class on startup as NNTP command
cli@21
    12
                                handler. Can be specified multiple times. The
cli@21
    13
                                class must be found in the JVMs classpath.
cli@21
    14
   -plugin-storage <class>     Loads the given StorageProvider class. The class
cli@21
    15
                                must be found in the JVMs classpath.
cli@21
    16
   -v|-version                 Prints out the version info an exits.