diff --git a/functions/pubsub/index.js b/functions/pubsub/index.js index f2f5916205..65d1ab29dc 100644 --- a/functions/pubsub/index.js +++ b/functions/pubsub/index.js @@ -29,7 +29,7 @@ const {Buffer} = require('safe-buffer'); * Publishes a message to a Cloud Pub/Sub Topic. * * @example - * gcloud alpha functions call publish --data '{"topic":"[YOUR_TOPIC_NAME]","message":"Hello, world!"}' + * gcloud functions call publish --data '{"topic":"[YOUR_TOPIC_NAME]","message":"Hello, world!"}' * * - Replace `[YOUR_TOPIC_NAME]` with your Cloud Pub/Sub topic name. *