uskudnik / amazon-glacier-cmd-interface

Command line interface for Amazon Glacier
MIT License
375 stars 103 forks source link

getarchive fails with "too few arguments" if archive-id begins with - #128

Open lschweiss opened 11 years ago

lschweiss commented 11 years ago

The dash is a valid archive-id character. The id can start with a dash too.

When getarchive is called with an archive-id beginning with a dash (-) it fails. I've tried quoting it and single quoting it. It still fails with "too few arguments"

wvmarle commented 11 years ago

As described in the README: add a -- option in front of your archive-id. So that it becomes something like -- -123123123123 in the command line.

lschweiss commented 11 years ago

Thanks! That worked. Might want to add that comment in the help text also.