aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2025-09-10 01:25:04 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2025-09-10 01:25:04 +0530
commita85293cb7e755d5b81676088db205388488763a7 (patch)
tree323bc04f930ea96bdacf71c6c72f7aaf15b91f5a /src
parent708587943595fb3231647f2da5d17b8202db34e8 (diff)
Added copyright declaration to the help messagev0.1.2
Diffstat (limited to 'src')
-rw-r--r--src/main.rs17
1 files changed, 16 insertions, 1 deletions
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 <vidhukant@vidhukant.com>\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 <https://www.gnu.org/licenses/>.");
}
fn main() {