From e517a2a28538b8e8ae010a5953b8dbef4dd64577 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 7 Jan 2020 15:22:20 +0000 Subject: 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. --- nitrocli/src/main.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'nitrocli/src/main.rs') diff --git a/nitrocli/src/main.rs b/nitrocli/src/main.rs index 831717e..9e81bf8 100644 --- a/nitrocli/src/main.rs +++ b/nitrocli/src/main.rs @@ -86,7 +86,6 @@ use crate::error::Error; type Result = result::Result; -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"; -- cgit v1.2.1