From 0f08beddff5740cd419b4ac96ba2141b7b0d9cd0 Mon Sep 17 00:00:00 2001 From: Amir Saeid Date: Sat, 28 Mar 2020 16:19:13 +0000 Subject: Add version to clap --- Cargo.toml | 1 + src/bin/main.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6e3909e..23cda2e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "sctd" version = "0.1.0" authors = ["Amir Saeid "] edition = "2018" +license = "CC0-1.0" [dependencies] chrono = "0.4.11" diff --git a/src/bin/main.rs b/src/bin/main.rs index 42044bd..0de2709 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -10,6 +10,7 @@ use std::time::Duration; fn main() { let matches = App::new("sctd") + .version("0.1") .about("set color temperature daemon") .arg( Arg::with_name("latitude") -- cgit v1.2.3