From b7d5df6f2aade961cd3f39095c6a33986b645e13 Mon Sep 17 00:00:00 2001 From: Jorge Bolois Date: Sun, 21 May 2023 02:27:37 +0200 Subject: [PATCH] Clean CLI text --- src/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index 2260df4..783394c 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -13,6 +13,7 @@ pub enum Arguments { #[structopt(short = "L", long, help = "Longitude as a decimal number")] longitude: f32, + // Flags #[structopt(short = "a", long, help = "Prints all the parameters")] all: bool, #[structopt(short = "d", long, help = "Prints if it's day or night")] @@ -27,8 +28,7 @@ pub enum Arguments { short = "c", long, help = "Cleans the output and only shows the values separated by commas. -- ORDER: is_day, temperature, windspeed, winddirection -- EXAMPLE: 1,22.4,12.5,170.0" +- ORDER: is_day, temperature, windspeed, winddirection" )] clean: bool, },