From a85293cb7e755d5b81676088db205388488763a7 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 10 Sep 2025 01:25:04 +0530 Subject: Added copyright declaration to the help message --- src/main.rs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 6042929..d3e27f0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,7 +31,22 @@ fn print_usage() { println!("\tskip:\t\tSkip the current timer (timer needs to be in a running state)"); println!("\tsoft-reset:\tGo to the beginning of the current timer"); println!("\thard-reset:\tGo to the beginning of the first timer"); - println!("\treset:\t\tConditional soft/hard reset"); + println!("\treset:\t\tConditional soft/hard reset\n"); + + println!("Copyright (C) 2025 Vidhu Kant Sharma \n"); + + println!("This program is free software: you can redistribute it and/or modify"); + println!("it under the terms of the GNU General Public License as published by"); + println!("the Free Software Foundation, either version 3 of the License, or"); + println!("(at your option) any later version.\n"); + + println!("This program is distributed in the hope that it will be useful,"); + println!("but WITHOUT ANY WARRANTY; without even the implied warranty of"); + println!("MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"); + println!("GNU General Public License for more details.\n"); + + println!("You should have received a copy of the GNU General Public License"); + println!("along with this program. If not, see ."); } fn main() { -- cgit v1.2.3