From c8e364512a05d74e07c83cf0af8a2ca92deab686 Mon Sep 17 00:00:00 2001 From: Jorge Bolois Date: Sat, 20 May 2023 00:09:13 +0200 Subject: [PATCH] Better error print when no print parameters passed --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 02ee787..7a9abf0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,7 @@ fn main() { clean, } => { if !all && !is_day && !temperature && !windspeed && !winddirection { - eprintln!("[ERROR] Please provide at least one parameter to print"); + eprintln!("[ERROR] Provide at least one parameter to print, check --help"); exit(1); }