@@ -22,25 +22,20 @@ object CLI {
2222 opt[String ]('r' , " requirementPackage" ).action((x, c) =>
2323 c.copy(requirementPackage = x)).text(" path to the package where all requirements are defined" )
2424
25- // Subject of change. After GUI will be -l (for login)
26- opt[Unit ]('n' , " noPassword" ).action((_, c) =>
27- c.copy(requirePasswordOnStartup = false )).text(" set this flag to disable password checking on framework startup" )
28-
2925 opt[String ]('l' , " login" ).action((x, c) =>
30- c.copy(loginPassword = x.toCharArray)).text(" the password to login to chat overflow (not recommended, has to be combined with -n) " )
26+ c.copy(loginPassword = x.toCharArray)).text(" the password to login to chat overflow on framework startup " )
3127
3228 opt[Seq [String ]]('s' , " start" ).action((x, c) =>
33- c.copy(startupPlugins = x)).text(" a comma-separated list of plugin instances to start after login (has to be combined with -n and - l)" )
29+ c.copy(startupPlugins = x)).text(" a comma-separated list of plugin instances to start after login (has to be combined with -l)" )
3430
3531 opt[String ]('d' , " pluginDataFolder" ).action((x, c) =>
3632 c.copy(pluginDataPath = x)).text(" path to the data folder, accessible from within plugins" )
3733
3834 opt[Int ]('w' , " webServerPort" ).action((x, c) =>
39- c.copy(webServerPort = x)).text(" default web server port, used eg. for the rest api" )
35+ c.copy(webServerPort = x)).text(" default web server port, used eg. for the rest api and web gui " )
4036
41- // Subject of change. After GUI will be -o (enablePluginOutput)
42- opt[Unit ]('z' , " disableLogOutputOnConsole" ).action((_, c) =>
43- c.copy(pluginLogOutputOnConsole = false )).text(" set this flag to disable plugin log output on console" )
37+ opt[Unit ]('o' , " enablePluginOutput" ).action((_, c) =>
38+ c.copy(pluginLogOutputOnConsole = true )).text(" set this flag to enable plugin log output on console" )
4439
4540 help(" help" ).hidden().text(" prints this usage text" )
4641
@@ -67,10 +62,9 @@ object CLI {
6762 case class Config (pluginFolderPath : String = " plugins/" ,
6863 configFolderPath : String = " config/" ,
6964 requirementPackage : String = " org.codeoverflow.chatoverflow.requirement" ,
70- requirePasswordOnStartup : Boolean = true ,
7165 pluginDataPath : String = " data" ,
7266 webServerPort : Int = 2400 ,
73- pluginLogOutputOnConsole : Boolean = true ,
67+ pluginLogOutputOnConsole : Boolean = false ,
7468 loginPassword : Array [Char ] = Array [Char ](),
7569 startupPlugins : Seq [String ] = Seq [String ]())
7670
0 commit comments