From c4e30fb17940fdf78abce5ded44abbf7cc90593a Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sat, 12 Nov 2022 16:53:32 +0300 Subject: [PATCH] cli: polish help output --- src/cli.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index ba2bf49..a24ac49 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -40,14 +40,14 @@ pub struct Args { long, default_value = ".env", env = "VNETOD_FILE", - help = "Change source file with environment variables" + help = "Change source file with environment variables." )] pub file: PathBuf, #[clap( short = 'o', long, - help = "Change output file with modified environment variables. It uses `file` argument by default if the output is not specified" + help = "Change output file with modified environment variables. It uses `file` argument by default if the output is not specified." )] pub output: Option, @@ -59,7 +59,7 @@ pub struct Args { #[clap( value_parser, - help = "Environment varible sections that will be enabled" + help = "Environment varible sections that will be enabled." )] pub sections: Vec, @@ -68,6 +68,7 @@ pub struct Args { long, value_enum, default_value = "auto", + help = "This flag controls when to use colors.", long_help = " This flag controls when to use colors. The default setting is 'auto', which means vnetod will try to guess when to use colors. For example, if vnetod is @@ -83,7 +84,6 @@ never Colors will never be used. auto The default. vnetod tries to be smart. always Colors will always be used regardless of where output is sent. ansi Like 'always', but emits ANSI escapes (even in a Windows console). - " )] pub color: ColorVariant,