Clean CLI text

This commit is contained in:
Jorge Bolois 2023-05-21 02:27:37 +02:00
parent 87cd8701e7
commit b7d5df6f2a

View File

@ -13,6 +13,7 @@ pub enum Arguments {
#[structopt(short = "L", long, help = "Longitude as a decimal number")] #[structopt(short = "L", long, help = "Longitude as a decimal number")]
longitude: f32, longitude: f32,
// Flags
#[structopt(short = "a", long, help = "Prints all the parameters")] #[structopt(short = "a", long, help = "Prints all the parameters")]
all: bool, all: bool,
#[structopt(short = "d", long, help = "Prints if it's day or night")] #[structopt(short = "d", long, help = "Prints if it's day or night")]
@ -27,8 +28,7 @@ pub enum Arguments {
short = "c", short = "c",
long, long,
help = "Cleans the output and only shows the values separated by commas. help = "Cleans the output and only shows the values separated by commas.
- ORDER: is_day, temperature, windspeed, winddirection - ORDER: is_day, temperature, windspeed, winddirection"
- EXAMPLE: 1,22.4,12.5,170.0"
)] )]
clean: bool, clean: bool,
}, },