Better error print when no print parameters passed

This commit is contained in:
Jorge Bolois 2023-05-20 00:09:13 +02:00
parent baa19a4319
commit c8e364512a

View File

@ -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);
}