aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Saeid <amir@glgdgt.com>2020-03-28 16:19:13 +0000
committerAmir Saeid <amir@glgdgt.com>2020-03-28 16:19:13 +0000
commit0f08beddff5740cd419b4ac96ba2141b7b0d9cd0 (patch)
tree099cc6817745a30220353867e854355f9035cf06
parentc8a3e2c3632dc0d047b7469d0dce28ef9631e791 (diff)
Add version to clap
-rw-r--r--Cargo.toml1
-rw-r--r--src/bin/main.rs1
2 files changed, 2 insertions, 0 deletions
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 <amir@glgdgt.com>"]
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")