From 7306847f4fe87cef4d75424ec35fbda2c2d289f2 Mon Sep 17 00:00:00 2001 From: Anders Blomdell <anders.blomdell@control.lth.se> Date: Fri, 20 Apr 2018 12:07:28 +0200 Subject: [PATCH] Add --zero-terminated as long option --- Cargo.toml | 2 +- src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6aa7146..e07ed79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hashtoc" -version = "0.1.1" +version = "0.1.2" authors = ["Anders Blomdell <anders.blomdell@control.lth.se>"] build = "build.rs" links = "libhash.a,libssl" diff --git a/src/main.rs b/src/main.rs index 107486e..5269998 100644 --- a/src/main.rs +++ b/src/main.rs @@ -604,6 +604,7 @@ fn main() { .help("Sets the level of verbosity")) .arg(Arg::with_name("zero-terminated") .short("z") + .long("zero-terminated") .help("End lines with NULL character")) .arg(Arg::with_name("max_age") .short("m") -- GitLab