mirror of https://github.com/Hilbis/Hilbish
feat: add login flag (todo)
parent
53adc6ab21
commit
55c05a9a92
5
main.go
5
main.go
|
@ -47,6 +47,11 @@ func main() {
|
||||||
Help: "Sets the path to Hilbish's config",
|
Help: "Sets the path to Hilbish's config",
|
||||||
Default: defaultconfpath,
|
Default: defaultconfpath,
|
||||||
})
|
})
|
||||||
|
loginshflag := parser.String("l", "login", &argparse.Options{
|
||||||
|
Required: false,
|
||||||
|
Help: "Makes Hilbish act like a login shell",
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
err := parser.Parse(os.Args)
|
err := parser.Parse(os.Args)
|
||||||
// If invalid flags or --help/-h,
|
// If invalid flags or --help/-h,
|
||||||
|
|
Loading…
Reference in New Issue