diff options
| author | tjp <tjp@ctrl-c.club> | 2024-07-14 13:15:01 -0600 |
|---|---|---|
| committer | tjp <tjp@ctrl-c.club> | 2024-07-14 13:15:01 -0600 |
| commit | b96e54f47ce56f8b703a62352306bd96dd9080e4 (patch) | |
| tree | c28d02c153af71ab48a3b01b37fb7fc3d3a96965 | |
| parent | 227b3690f412ee54fe53e65cf82fa8cbd19f932f (diff) | |
only prompt mode
| -rw-r--r-- | main.go | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -13,7 +13,6 @@ var ( cmdMode = flag.String("c", "", "") helpMode = flag.Bool("h", false, "") quietMode = flag.Bool("q", false, "") - promptMode = flag.Bool("p", false, "") ) func main() { @@ -43,11 +42,7 @@ func main() { state.Quiet = true } - if *promptMode { - runInteractivePrompt(state, flag.Args()) - } else { - runTUI(state, flag.Args()) - } + runInteractivePrompt(state, flag.Args()) } func buildReadline(prompt string, conf *Config) (*readline.Instance, error) { |
