From 213442bffd84937535e2ca971c792732f947fb1e Mon Sep 17 00:00:00 2001 From: Ming-Hung Tsai Date: Tue, 24 Aug 2021 02:17:24 +0800 Subject: [PATCH] [all (rust)] Fix cosmetic names for argument values --- src/bin/cache_dump.rs | 2 +- src/bin/cache_repair.rs | 4 ++-- src/bin/cache_restore.rs | 4 ++-- src/bin/thin_dump.rs | 2 +- src/bin/thin_repair.rs | 4 ++-- src/bin/thin_restore.rs | 4 ++-- src/bin/thin_shrink.rs | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/bin/cache_dump.rs b/src/bin/cache_dump.rs index 93644ec..5440725 100644 --- a/src/bin/cache_dump.rs +++ b/src/bin/cache_dump.rs @@ -30,7 +30,7 @@ fn main() { .help("Specify the output file rather than stdout") .short("o") .long("output") - .value_name("OUTPUT"), + .value_name("FILE"), ) // arguments .arg( diff --git a/src/bin/cache_repair.rs b/src/bin/cache_repair.rs index d964a0f..f2d4f0c 100644 --- a/src/bin/cache_repair.rs +++ b/src/bin/cache_repair.rs @@ -34,7 +34,7 @@ fn main() { .help("Specify the input device") .short("i") .long("input") - .value_name("INPUT") + .value_name("FILE") .required(true), ) .arg( @@ -42,7 +42,7 @@ fn main() { .help("Specify the output device") .short("o") .long("output") - .value_name("OUTPUT") + .value_name("FILE") .required(true), ); diff --git a/src/bin/cache_restore.rs b/src/bin/cache_restore.rs index f580777..714d2d4 100644 --- a/src/bin/cache_restore.rs +++ b/src/bin/cache_restore.rs @@ -41,7 +41,7 @@ fn main() { .help("Specify the input xml") .short("i") .long("input") - .value_name("INPUT") + .value_name("FILE") .required(true), ) .arg( @@ -49,7 +49,7 @@ fn main() { .help("Specify the output device to check") .short("o") .long("output") - .value_name("OUTPUT") + .value_name("FILE") .required(true), ); diff --git a/src/bin/thin_dump.rs b/src/bin/thin_dump.rs index 606ea42..7533961 100644 --- a/src/bin/thin_dump.rs +++ b/src/bin/thin_dump.rs @@ -52,7 +52,7 @@ fn main() { .help("Specify the output file rather than stdout") .short("o") .long("output") - .value_name("OUTPUT"), + .value_name("FILE"), ) // arguments .arg( diff --git a/src/bin/thin_repair.rs b/src/bin/thin_repair.rs index 7d41bf3..2cac56e 100644 --- a/src/bin/thin_repair.rs +++ b/src/bin/thin_repair.rs @@ -34,7 +34,7 @@ fn main() { .help("Specify the input device") .short("i") .long("input") - .value_name("INPUT") + .value_name("FILE") .required(true), ) .arg( @@ -42,7 +42,7 @@ fn main() { .help("Specify the output device") .short("o") .long("output") - .value_name("OUTPUT") + .value_name("FILE") .required(true), ) .arg( diff --git a/src/bin/thin_restore.rs b/src/bin/thin_restore.rs index 34cfb85..c221326 100644 --- a/src/bin/thin_restore.rs +++ b/src/bin/thin_restore.rs @@ -34,7 +34,7 @@ fn main() { .help("Specify the input xml") .short("i") .long("input") - .value_name("INPUT") + .value_name("FILE") .required(true), ) .arg( @@ -42,7 +42,7 @@ fn main() { .help("Specify the output device") .short("o") .long("output") - .value_name("OUTPUT") + .value_name("FILE") .required(true), ) .arg( diff --git a/src/bin/thin_shrink.rs b/src/bin/thin_shrink.rs index ff7fb45..722ef2b 100644 --- a/src/bin/thin_shrink.rs +++ b/src/bin/thin_shrink.rs @@ -20,7 +20,7 @@ fn main() { .required(true) .short("i") .long("input") - .value_name("INPUT") + .value_name("FILE") .takes_value(true), ) .arg( @@ -29,7 +29,7 @@ fn main() { .required(true) .short("o") .long("output") - .value_name("OUTPUT") + .value_name("FILE") .takes_value(true), ) .arg(