2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 19:53:23 +00:00

feat: add login flag (todo)

This commit is contained in:
sammy 2021-04-18 18:50:18 -04:00
parent 53adc6ab21
commit 55c05a9a92
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5

View File

@ -47,6 +47,11 @@ func main() {
Help: "Sets the path to Hilbish's config",
Default: defaultconfpath,
})
loginshflag := parser.String("l", "login", &argparse.Options{
Required: false,
Help: "Makes Hilbish act like a login shell",
})
err := parser.Parse(os.Args)
// If invalid flags or --help/-h,