diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-11-18 21:30:15 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-11-18 22:03:57 +0300 |
| commit | 078f43e3257017d271889ae2383b8984cda8aac2 (patch) | |
| tree | 4aecffd241bfdc61f7a617798e348e8665843ce7 /src/main.rs | |
| parent | 0e3574d26990e93b5a66af2426cb2102b2ba0a5f (diff) | |
Specified no subcommand help text
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 2d6d1dc..5079f34 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,7 +180,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { Ok(()) }, Some(Commands::Today) => { - // to much vars + // to much vars let data: WeatherData = parse_cached()?; let art_string = prepare_art(&data)?; let table_lines = generate_weather_table_content(&data); @@ -221,7 +221,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { } None => { println!("No subcommand specified."); + println!("Run `wfetch -h` or `wfetch help`"); + println!("to see help message."); Ok(()) }, } -}
\ No newline at end of file + +}
\ No newline at end of file |
