diff --git a/lib/utils.js b/lib/utils.js index 1870cf8..e8b258e 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -43,7 +43,9 @@ var notifySendFlags = { category: 'category', subtitle: 'category', h: 'hint', - hint: 'hint' + hint: 'hint', + a: 'app-name', + 'app-name': 'app-name' }; module.exports.command = function(notifier, options, cb) { diff --git a/notifiers/notifysend.js b/notifiers/notifysend.js index 074c39b..07aa4bc 100644 --- a/notifiers/notifysend.js +++ b/notifiers/notifysend.js @@ -79,7 +79,7 @@ Object.defineProperty(NotifySend.prototype, 'notify', { } }); -var allowedArguments = ['urgency', 'expire-time', 'icon', 'category', 'hint']; +var allowedArguments = ['urgency', 'expire-time', 'icon', 'category', 'hint', 'app-name']; function doNotification(options, callback) { var initial, argsList;