diff --git a/README.md b/README.md index 884ea8df..f8737230 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Then you can run the following commands: Usage: - web-push send-notification --endpoint= [--key=] [--auth=] [--payload=] [--ttl=] [--vapid-subject=] [--vapid-pubkey=] [--vapid-pvtkey=] [--gcm-api-key=] + web-push send-notification --endpoint= [--key=] [--auth=] [--payload=] [--encoding=] [--ttl=] [--vapid-subject=] [--vapid-pubkey=] [--vapid-pvtkey=] [--gcm-api-key=] web-push generate-vapid-keys [--json] diff --git a/test/test-cli.js b/test/test-cli.js index 0868c76d..900244ee 100644 --- a/test/test-cli.js +++ b/test/test-cli.js @@ -93,6 +93,7 @@ '--auth=auth', '--payload=hello', '--ttl=1234', + '--encoding=aesgcm', '--vapid-subject=http://example.push-serice.com/contact', '--vapid-pubkey=vapid-publicKey', '--vapid-pvtkey=vapid-privateKey',