Skip to content

Commit

Permalink
Flip "listing commands" flag in main.py if --shortlist is given.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed Sep 1, 2011
1 parent 06cd63e commit cfab5ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ would have also been included in the 1.2 line.
Changelog
=========

* :bug:`396` :option:`--shortlist` broke after the addition of
:option:`--list-format <-F>` and no longer displayed the short list format
correctly. This has been fixed.
* :bug:`373` Re-added missing functionality preventing :ref:`host exclusion
<excluding-hosts>` from working correctly.
* :bug:`303` Updated terminal size detection to correctly skip over non-tty
Expand Down
1 change: 1 addition & 0 deletions fabric/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,7 @@ def main():
# it overrides use of --list-format if somebody were to specify both
if options.shortlist:
options.list_format = 'short'
options.list_commands = True

# List available commands
if options.list_commands:
Expand Down

0 comments on commit cfab5ec

Please sign in to comment.