No more default port

This commit is contained in:
Tony Garnock-Jones 2021-08-28 18:55:02 +02:00
parent 0f1432d414
commit 4292b06a93
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
make -C ../syndicate-server binary && exec taskset -c 0,1 ../target/release/syndicate-server "$@" make -C ../syndicate-server binary && exec taskset -c 0,1 ../target/release/syndicate-server -p 8001 "$@"

View File

@ -24,7 +24,7 @@ use schemas::internal_services;
#[derive(Clone, StructOpt)] #[derive(Clone, StructOpt)]
struct ServerConfig { struct ServerConfig {
#[structopt(short = "p", long = "port", default_value = "8001")] #[structopt(short = "p", long = "port")]
ports: Vec<u16>, ports: Vec<u16>,
#[structopt(short = "s", long = "socket")] #[structopt(short = "s", long = "socket")]