created configuration module

This commit is contained in:
2019-06-04 22:31:37 +02:00
parent d94db33544
commit 126d0da7c7
3 changed files with 24 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ fn main() {
* server lines
*/
fn parse_command_line<'a>() -> ArgMatches<'a> {
App::new("gopherbridge")
return App::new("gopherbridge")
.version("0.1")
.author("jali@orca-central.de")
.about("a simple modular gopher server, that pushes converted web-content to a client")
@@ -53,5 +53,5 @@ fn parse_command_line<'a>() -> ArgMatches<'a> {
.help("Specifies the port the server listens on. Default is 70")
.takes_value(true),
)
.get_matches()
.get_matches();
}