From 418fa225eadb2f6f4f041a259f31788be0600a07 Mon Sep 17 00:00:00 2001 From: yory8 <> Date: Tue, 17 Sep 2019 11:52:49 +0200 Subject: [PATCH] refac!: change selector flag to "tool" --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 9738b65..be2e329 100644 --- a/main.go +++ b/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() )