feat: add login flag (todo)

pull/38/head
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
1 changed files with 5 additions and 0 deletions

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,