aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-07 15:22:20 +0000
committerDaniel Mueller <deso@posteo.net>2020-01-07 15:22:20 +0000
commit8e29cb575f4534c4c723699164db7315a970f1ec (patch)
treef0484e7da91533c1ce3eafbf69d3c6108a17f7b8 /src/main.rs
parent77921f888f3106e961e1936fd6a42a9625efe6bf (diff)
downloadnitrocli-8e29cb575f4534c4c723699164db7315a970f1ec.tar.gz
nitrocli-8e29cb575f4534c4c723699164db7315a970f1ec.tar.bz2
Remove unused code after structopt transition
In the previous patches, we replaced argparse with structopt and removed the argparse dependency. This patch removes the code that was only needed for argparse.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 831717e..9e81bf8 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -86,7 +86,6 @@ use crate::error::Error;
type Result<T> = result::Result<T, Error>;
-const NITROCLI: &str = "nitrocli";
const NITROCLI_ADMIN_PIN: &str = "NITROCLI_ADMIN_PIN";
const NITROCLI_USER_PIN: &str = "NITROCLI_USER_PIN";
const NITROCLI_NEW_ADMIN_PIN: &str = "NITROCLI_NEW_ADMIN_PIN";