diff options
| author | Jeff Carr <[email protected]> | 2025-10-24 10:29:14 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-24 10:29:14 -0500 |
| commit | 08f363db15952c41a433fa263940b27abcfb5615 (patch) | |
| tree | 73f1ff41014f89ecd1983fedad12580bdbd6d6c2 /main.go | |
| parent | d858946501f58a932521b05534c0a1717476adba (diff) | |
still runsv0.1.49
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -21,14 +21,14 @@ func main() { me.argv = argvpb.Autocomplete(&argv) // adds shell auto complete to go-args me.homedir, _ = os.UserHomeDir() // store shortcut here todo: add better logic - if me.argv.Cmd == "" { + if me.argv.GetCmd() == "" { // user didn't enter a sub command // doDefaultBehavior() me.argv.GoodExit("do what?") } pwd, _ := os.Getwd() - setTitle(log.Sprintf("wit %s %s", me.argv.Cmd, pwd)) + setTitle(log.Sprintf("wit %s %s", me.argv.GetCmd(), pwd)) // Standard subcommand handling starts here var s string |
