aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/notifyctl/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/notifyctl/main.go b/cmd/notifyctl/main.go
index e0875e7..6de678e 100644
--- a/cmd/notifyctl/main.go
+++ b/cmd/notifyctl/main.go
@@ -30,6 +30,7 @@ func usage() {
close-all dismiss every notification
action <id> <key> invoke an action on a live notification
clear-history empty the history ring
+ reload re-read ~/.config/notifyd/config.json
`, filepath.Base(os.Args[0]))
os.Exit(2)
}
@@ -69,6 +70,8 @@ func main() {
callControl("InvokeAction", id, os.Args[3])
case "clear-history":
callControl("ClearHistory")
+ case "reload":
+ callControl("Reload")
default:
usage()
}