diff --git a/Cargo.lock b/Cargo.lock index 88bd5d6..8b8b524 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,4 +4,4 @@ version = 3 [[package]] name = "tftpd" -version = "0.1.1" +version = "0.1.2" diff --git a/Cargo.toml b/Cargo.toml index c712fae..24b9217 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tftpd" -version = "0.1.1" +version = "0.1.2" authors = ["Altuğ Bakan "] edition = "2021" description = "Multithreaded TFTP server daemon" diff --git a/src/config.rs b/src/config.rs index 0d90529..0340f5f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -74,9 +74,9 @@ impl Config { println!("Options:"); println!(" -i, --ip-address \tSet the ip address of the server (Default: 127.0.0.1)"); println!( - " -p, --port \t\tSet the listening port of the server (Default: )" + " -p, --port \t\tSet the listening port of the server (Default: 69)" ); - println!(" -d, --directory \tSet the listening port of the server (Default: )"); + println!(" -d, --directory \tSet the listening port of the server (default: Current Working Directory)"); println!(" -h, --help\t\t\tPrint help information"); process::exit(0); } diff --git a/src/lib.rs b/src/lib.rs index 003ba30..82a114d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ #![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). //! It also supports the following [RFC 2347](https://www.rfc-editor.org/rfc/rfc2347) TFTP Option Extensions: