euca-authorize short-options for secret-key "help" is wrong

Reported by David Medberry on 2012-03-09
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
euca2ools
Status tracked in Devel
2.0
Fix Released
Low
Unassigned
Devel
Fix Released
Low
Unassigned

Bug Description

See bug #950450
Similar exists in upstream euca2ools.

ie, the euca-authorize --help

reports incorrectly the short option for secret key.

Related branches

David Medberry (med) wrote :

in file euca2ools/commands/eucacommand.py (lines 237-245)

def check_for_conflict(self):
        for option in self.Options:
            if option.short_name == 'a' or option.short_name == 's':
                self.access_key_short_name = '-A'
                self.secret_key_short_name = '-S'
                opt = self.find_option('--access-key')
                opt.short_name = 'A'
                opt = self.find_option('--secret-key')
                opt.short_name = 'A'

that last line should be 'S' as it is in the self.secret_key_short_name line...

Garrett Holmstrom (gholms) wrote :

Fixed in commit <email address hidden>. Thanks for the bug report!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers