From 10242bb423eed6cf1b852d18f3a838cea80ab9af Mon Sep 17 00:00:00 2001 From: Eric Jiang Date: Thu, 3 Jan 2019 14:28:27 -0500 Subject: [PATCH] fix(): use dash instead of camel case in CLI --- bin/act-deploy | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/act-deploy b/bin/act-deploy index 0ed0b14..2a7b831 100755 --- a/bin/act-deploy +++ b/bin/act-deploy @@ -19,20 +19,20 @@ usage: act deploy: [-h] [--help] // Parse program arguments based on yargs spec const { argv } = program - .command('proxy [options] ', 'Deploy a proxy contract for ', (_) => { + .command('proxy [options] ', 'Deploy a proxy contract for ', (_) => { _ .positional('did', { type: 'string', describe: 'The content DID for this proxy' }) - .positional('versionName', { + .positional('version-name', { type: 'string', describe: 'The version name of the AFS standard to use with this proxy' }) .option('upgrade', { alias: 'u', type: 'boolean', - describe: 'Flag to indicate upgrade to ' + describe: 'Flag to indicate upgrade to ' }) .option('force', { alias: 'f', @@ -43,13 +43,13 @@ const { argv } = program describe: 'Password for DID' }) }, onproxy) - .command('standard [options] ', 'Deploy a new AFS standard with (the registry contract owner)', (_) => { + .command('standard [options] ', 'Deploy a new AFS standard with (the registry contract owner)', (_) => { _ .positional('did', { type: 'string', describe: 'The registry contract owner DID' }) - .positional('versionName', { + .positional('version-name', { type: 'string', describe: 'The version name of the new AFS standard' })