command line argument --shortlist not working #396

Closed
bitprophet opened this Issue Aug 19, 2011 · 3 comments

Projects

None yet

2 participants

@bitprophet
Member

Description

I installed fabric using the 1.2.0 tag from the github repo on ubuntu 10.04. fab --shortlist gives the usage output instead of the short task list. The long version (fab -F short --list) works as expected. I looked at the source but don't see why it's misbehaving.

% fab --version
Fabric 1.2.0

% fab -F short --list
deploy
development
production
...

% fab --shortlist
Usage: fab [options] <command>[:arg1,arg2=val2,host=foo,hosts='h1;h2',...] ...
Options:
-h, --help            show this help message and exit
-V, --version         show program's version number and exit
-l, --list            print list of possible commands and exit
...

Originally submitted by Michael W (alwassoc) on 2011-07-25 at 01:02pm EDT

@bitprophet bitprophet was assigned Aug 19, 2011
@bitprophet
Member

**** (ori) posted:


Quick fix -- <broken link :(>


on 2011-07-25 at 10:48pm EDT

@sxalexander

This is broken for me as well and the pull link above doesn't work.

@bitprophet
Member

Yea, just noticed that they never actually posted a link to their repo/branch, and the username from Redmine may not truly match Github, as the GH @ori account has no Fab repo. (Or any repos.)

Anyway, yes, it's a known regression and I will be fixing it for the next bugfix release.

EDIT: N.B. seems to have broken in 1.1.

@bitprophet bitprophet closed this in cfab5ec Sep 1, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment