created configuration module
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user