Fix help output
This commit is contained in:
parent
bfb959bca8
commit
5d00df1454
4 changed files with 5 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -4,4 +4,4 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tftpd"
|
name = "tftpd"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tftpd"
|
name = "tftpd"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
authors = ["Altuğ Bakan <mail@alt.ug>"]
|
authors = ["Altuğ Bakan <mail@alt.ug>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Multithreaded TFTP server daemon"
|
description = "Multithreaded TFTP server daemon"
|
||||||
|
|
|
||||||
|
|
@ -74,9 +74,9 @@ impl Config {
|
||||||
println!("Options:");
|
println!("Options:");
|
||||||
println!(" -i, --ip-address <IP ADDRESS>\tSet the ip address of the server (Default: 127.0.0.1)");
|
println!(" -i, --ip-address <IP ADDRESS>\tSet the ip address of the server (Default: 127.0.0.1)");
|
||||||
println!(
|
println!(
|
||||||
" -p, --port <PORT>\t\tSet the listening port of the server (Default: )"
|
" -p, --port <PORT>\t\tSet the listening port of the server (Default: 69)"
|
||||||
);
|
);
|
||||||
println!(" -d, --directory <DIRECTORY>\tSet the listening port of the server (Default: )");
|
println!(" -d, --directory <DIRECTORY>\tSet the listening port of the server (default: Current Working Directory)");
|
||||||
println!(" -h, --help\t\t\tPrint help information");
|
println!(" -h, --help\t\t\tPrint help information");
|
||||||
process::exit(0);
|
process::exit(0);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
//! Multithreaded TFTP daemon implemented in pure Rust without dependencies.
|
//! Multithreaded TFTP daemon implemented in pure Rust.
|
||||||
//!
|
//!
|
||||||
//! This server implements [RFC 1350](https://www.rfc-editor.org/rfc/rfc1350), The TFTP Protocol (Revision 2).
|
//! This server implements [RFC 1350](https://www.rfc-editor.org/rfc/rfc1350), The TFTP Protocol (Revision 2).
|
||||||
//! It also supports the following [RFC 2347](https://www.rfc-editor.org/rfc/rfc2347) TFTP Option Extensions:
|
//! It also supports the following [RFC 2347](https://www.rfc-editor.org/rfc/rfc2347) TFTP Option Extensions:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue