From 6be47f65362ce3b2302f25bea98de7efbc25f12b Mon Sep 17 00:00:00 2001 From: mischa Date: Tue, 19 Jul 2022 11:47:28 +0200 Subject: [PATCH] change default notification title --- README.md | 7 +++++++ pushover.pl | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cee8565..be83ae4 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,10 @@ Simple Perl script to send notifications via [Pushover](https://pushover.net) + $ ./pushover.pl + Usage: ./pushover.pl [-m message] [-t title] [-p priority] + Options: + -m | --message text + -t | --title text (default: Notification) + -p | --priority [0|1] (default: 0) + diff --git a/pushover.pl b/pushover.pl index 9076626..805e8cb 100755 --- a/pushover.pl +++ b/pushover.pl @@ -25,7 +25,7 @@ use JSON::PP; GetOptions( "message=s" => \(my $MESSAGE), - "title=s" => \(my $TITLE = "OpenBSD Amsterdam"), + "title=s" => \(my $TITLE = "Notification"), "priority=i" => \(my $PRIORITY = 0), );