refac!: change selector flag to "tool"
This commit is contained in:
parent
e0e1c47c0a
commit
418fa225ea
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -23,11 +23,11 @@ var (
|
|||
|
||||
picker = app.Command("pick", "Pick an item from clipboard history")
|
||||
maxPicker = picker.Flag("max-items", "scrollview length").Default("15").Int()
|
||||
pickTool = picker.Flag("selector", "Which selector to use: dmenu/rofi/-").Default("dmenu").String()
|
||||
pickTool = picker.Flag("tool", "Which selector to use: dmenu/rofi/-").Default("dmenu").String()
|
||||
|
||||
clearer = app.Command("clear", "Remove item(s) from history")
|
||||
maxClearer = clearer.Flag("max-items", "scrollview length").Default("15").Int()
|
||||
clearTool = clearer.Flag("selector", "Which selector to use: dmenu/rofi/-").Default("dmenu").String()
|
||||
clearTool = clearer.Flag("tool", "Which selector to use: dmenu/rofi/-").Default("dmenu").String()
|
||||
clearAll = clearer.Flag("all", "Remove all items").Short('a').Default("false").Bool()
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue