From 941902f43b4513f18148d7ad1bb0fee63a7ae269 Mon Sep 17 00:00:00 2001 From: sammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 8 May 2021 09:12:21 -0400 Subject: [PATCH] style: remove unneeded assign to _ --- main.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index b354585..cef8c35 100644 --- a/main.go +++ b/main.go @@ -48,11 +48,9 @@ func main() { setshflag := getopt.BoolLong("setshellenv", 'S', "Sets $SHELL to Hilbish's executed path") cmdflag := getopt.StringLong("command", 'c', "", /*TODO: Help description*/ "") configflag := getopt.StringLong("config", 'C', defaultconfpath, "Sets the path to Hilbish's config") - // loginshflag - // TODO: issue #37 - _ = getopt.BoolLong("login", 'l', "Makes Hilbish act like a login shell") - _ = getopt.BoolLong("interactive", 'i', "Force Hilbish to be an interactive shell") - _ = getopt.BoolLong("noexec", 'n', "Force Hilbish to be an interactive shell") + getopt.BoolLong("login", 'l', "Makes Hilbish act like a login shell") + getopt.BoolLong("interactive", 'i', "Force Hilbish to be an interactive shell") + getopt.BoolLong("noexec", 'n', "Force Hilbish to be an interactive shell") getopt.Parse() loginshflag := getopt.Lookup('l').Seen()