From 55a13baa3e75d6894b0ddbea33b7772954665c78 Mon Sep 17 00:00:00 2001 From: Alessandro Rossi Date: Tue, 3 Oct 2017 16:10:30 +0200 Subject: [PATCH] Update manager.js correct commandline parameters example --- iot/manager/manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iot/manager/manager.js b/iot/manager/manager.js index d9cb6d3f0b..a4da810365 100644 --- a/iot/manager/manager.js +++ b/iot/manager/manager.js @@ -824,7 +824,7 @@ require(`yargs`) // eslint-disable-line } ) .example(`node $0 createEs256Device my-es-device my-registry ../ec_public.pem`) - .example(`node $0 createRegistry my-registry my-iot-topic --service_account_json=$HOME/creds_iot.json --project_id=my-project-id`) + .example(`node $0 createRegistry my-registry my-iot-topic --serviceAccount=$HOME/creds_iot.json --project_id=my-project-id`) .example(`node $0 createRsa256Device my-rsa-device my-registry ../rsa_cert.pem`) .example(`node $0 createUnauthDevice my-device my-registry`) .example(`node $0 deleteDevice my-device my-registry`) @@ -836,7 +836,7 @@ require(`yargs`) // eslint-disable-line .example(`node $0 listRegistries`) .example(`node $0 patchRsa256 my-device my-registry ../rsa_cert.pem`) .example(`node $0 patchEs256 my-device my-registry ../ec_public.pem`) - .example(`node $0 setupTopic my-iot-topic --service_account_json=$HOME/creds_iot.json --project_id=my-project-id`) + .example(`node $0 setupTopic my-iot-topic --serviceAccount=$HOME/creds_iot.json --projectId=my-project-id`) .wrap(120) .recommendCommands() .epilogue(`For more information, see https://cloud.google.com/iot-core/docs`)