mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
aquatic help output: print short protocol descriptions
This commit is contained in:
parent
67234744e9
commit
dd19f32a2a
1 changed files with 3 additions and 3 deletions
|
|
@ -91,9 +91,9 @@ fn gen_info() -> String {
|
||||||
let app_path = ::std::env::args().next().unwrap();
|
let app_path = ::std::env::args().next().unwrap();
|
||||||
info.push_str(&format!("\n\nUsage: {} PROTOCOL [OPTIONS]", app_path));
|
info.push_str(&format!("\n\nUsage: {} PROTOCOL [OPTIONS]", app_path));
|
||||||
info.push_str("\n\nAvailable protocols:");
|
info.push_str("\n\nAvailable protocols:");
|
||||||
info.push_str("\n udp");
|
info.push_str("\n udp BitTorrent over UDP");
|
||||||
info.push_str("\n http");
|
info.push_str("\n http BitTorrent over HTTP");
|
||||||
info.push_str("\n ws");
|
info.push_str("\n ws WebTorrent");
|
||||||
|
|
||||||
info
|
info
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue