summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/main.go b/main.go
index 715bc57..d7fa398 100644
--- a/main.go
+++ b/main.go
@@ -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) {