documented console commands and CLI parameters
Massimo Melina committed
Aug 3, 2022 at 12:43 UTC
8543efa870eb90b94b32804f50f3edb8a7650f96
3 files changed
+11
-1
README.md
+9
@@ -87,6 +87,15 @@ But you may still want to stay with HFS 2.x (so far) for the following reasons
87
- more tested
88
- classic window interface (can be easier for some people)
89
90
+## Console commands
91
+
92
+If you have access to HFS' console, you can enter commands. Start with `help` to have a full list.
93
+
94
+## Passing parameters
95
+
96
+Any value you see in the config file with name *X* can be passed at command line in the form `--X <new_value>`,
97
+or you can enter console command `config X <new_value>`.
98
+
99
## License
100
101
[GPLv3](https://github.com/rejetto/hfs/blob/master/LICENSE.txt)
server/src/listen.ts
+1
-1
@@ -143,7 +143,7 @@ function startServer(srv: typeof httpSrv, { port, host }: StartServer) {
143
}
144
console.error(srv.name, srv.error)
145
const k = (srv === httpSrv? portCfg : httpsPortCfg).key()
146
- console.log(` >> try specifying a different port like: --${k} 8011`)
146
+ console.log(` >> try specifying a different port, enter this command: config ${k} 8011`)
147
resolve(0)
148
})
149
})
todo.md
+1
@@ -1,4 +1,5 @@
1
# To do
2
+- fix: chrome is prompting to save credentials without username because of login's double-form
3
- fix: currently user field in the access.log is '-'
4
- admin: check + update
5
- admin/monitor: account column