aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.38k stars 4.09k forks source link

Is outfile a positional or keyword parameter? #2439

Closed philiprbrenan closed 7 years ago

philiprbrenan commented 7 years ago

aws polly synthesize-speech help

produces:

SYNOPSIS synthesize-speech [--lexicon-names <value>] --output-format <value> [--sample-rate <value>] --text <value> [--text-type <value>] --voice-id <value> outfile <value>

which I found confusing as first I tried: --outfile "filename"

then: outfile "filename"

finally: "filename"

but at no point was a helpful error message produced to explain what to do. Instead the command help was just redisplayed but that was not helpful as it was the cause of my confusion in the first place. Shouldn't an enterprise currently valued at $400 billion be able to do better than this?

stealthycoin commented 7 years ago

You are omitting three required arguments (the ones without []) --output-format --text --voice-id

aws polly synthesize-speech --output-format mp3 --text "Test test test" --voice-id Amy test.mp3

kyleknap commented 7 years ago

Closing due to inactivity.