Skip to content

--image flag always reports "image must be specified" ... usage message doesn't list short flags #42

@ryancnelson

Description

@ryancnelson

sdc-createmachine doesn't seem to be accepting the "--image" switch:

$ env | grep SDC | grep -v CLI
SDC_URL=https://us-west-1.api.joyentcloud.com
SDC_ACCOUNT=xxxxxx
SDC_KEY_ID=fd:9c:78:0f:bd:58:e0:88:38:01:44:3b:ab:80:a5:93

$ sdc-createmachine --image f669428c-a939-11e2-a485-b790efc0f0c1
image must be specified

$ sdc-createmachine -e f669428c-a939-11e2-a485-b790efc0f0c1
<bunch of happy "success" json output here>

$ sdc-createmachine --help
sdc-createmachine [--account string] [--debug boolean] [--dataset string] [--enable-firewall boolean] [--help boolean] [--keyId string] [--metadata ] [--name string] [--networks ] [--package string] [--script path] [--tag ] [--url url]

$ npm list -g | grep smartdc
└─┬ smartdc@7.1.1
└─┬ smartdc-auth@1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions