mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
cli helpers: in run function, take function as argument instead
This commit is contained in:
parent
ac52668a3d
commit
8dfd49af0d
2 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
|||
|
||||
|
||||
fn main(){
|
||||
cli_helpers::run_with_cli_and_config(
|
||||
cli_helpers::run_with_cli_and_config::<aquatic::config::Config>(
|
||||
"aquatic: udp bittorrent tracker",
|
||||
aquatic::run,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue