diff --git a/Cargo.toml b/Cargo.toml index 7a56198..e8da63d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "sbf2rnx" version = "0.1.0" authors = ["Lars Næsbye Christensen "] edition = "2021" +description = "Converts SBF to RINEX" [dependencies] rinex = "0.15" diff --git a/src/main.rs b/src/main.rs index d049360..7b9cf13 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,10 +15,10 @@ pub enum Error { } pub fn main() -> Result<(), Error> { - let matches = Command::new("sbf2rnx") - .version("0.1") - .author("Lars Næsbye Christensen ") - .about("Does awesome things") + let matches = Command::new(env!("CARGO_PKG_NAME")) + .version(env!("CARGO_PKG_VERSION")) + .author(env!("CARGO_PKG_AUTHORS")) + .about(env!("CARGO_PKG_DESCRIPTION")) .arg(arg!(--i ).required(true)) .get_matches(); let filepath: String = matches.get_one::("i").unwrap().to_string();