helpers/usage
author cli
Mon, 24 Aug 2009 14:40:37 +0200
changeset 21 4b2c8bedb094
parent 3 2fdc9cc89502
permissions -rw-r--r--
Refactoring in CommandSelector to allow manually loading of plugins.
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.