helpers/usage
author František Kučera <franta-hg@frantovo.cz>
Sun, 30 Oct 2011 22:15:03 +0100
changeset 113 a059aecd1794
parent 21 4b2c8bedb094
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.
     1 java -jar sonews.jar [arguments]
     2         where arguments:
     3    -c|-config <config file>    If custom config file preferred
     4    -dumpjdbcdriver             Prints out a list of available JDBC drivers
     5    -feed                       Enables feed daemon for pulling/pushing news
     6                                 from/to peer servers
     7    -h|-help                    This output
     8    -mlgw                       Enables the Mailinglist Gateway poller
     9    -p <port>                   Forces sonews to listen on the specified port
    10    -plugin <name|class|file>   Loads the given plugin.
    11    -plugin-command <class>     Loads the given class on startup as NNTP command
    12                                 handler. Can be specified multiple times. The
    13                                 class must be found in the JVMs classpath.
    14    -plugin-storage <class>     Loads the given StorageProvider class. The class
    15                                 must be found in the JVMs classpath.
    16    -v|-version                 Prints out the version info an exits.