mirror of https://github.com/Hilbis/Hilbish
style: remove unneeded assign to _
parent
cdd9dc1544
commit
941902f43b
8
main.go
8
main.go
|
@ -48,11 +48,9 @@ func main() {
|
||||||
setshflag := getopt.BoolLong("setshellenv", 'S', "Sets $SHELL to Hilbish's executed path")
|
setshflag := getopt.BoolLong("setshellenv", 'S', "Sets $SHELL to Hilbish's executed path")
|
||||||
cmdflag := getopt.StringLong("command", 'c', "", /*TODO: Help description*/ "")
|
cmdflag := getopt.StringLong("command", 'c', "", /*TODO: Help description*/ "")
|
||||||
configflag := getopt.StringLong("config", 'C', defaultconfpath, "Sets the path to Hilbish's config")
|
configflag := getopt.StringLong("config", 'C', defaultconfpath, "Sets the path to Hilbish's config")
|
||||||
// loginshflag
|
getopt.BoolLong("login", 'l', "Makes Hilbish act like a login shell")
|
||||||
// TODO: issue #37
|
getopt.BoolLong("interactive", 'i', "Force Hilbish to be an interactive shell")
|
||||||
_ = getopt.BoolLong("login", 'l', "Makes Hilbish act like a login shell")
|
getopt.BoolLong("noexec", 'n', "Force Hilbish to be an interactive 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()
|
getopt.Parse()
|
||||||
loginshflag := getopt.Lookup('l').Seen()
|
loginshflag := getopt.Lookup('l').Seen()
|
||||||
|
|
Loading…
Reference in New Issue