From: Sage Weil Date: Wed, 12 Mar 2014 15:57:23 +0000 (-0700) Subject: lock: allow -a with --brief X-Git-Tag: 1.1.0~1592 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1ccabd802f86d0e47c6af3ebf47eb7df34dab2da;p=teuthology.git lock: allow -a with --brief Signed-off-by: Sage Weil --- diff --git a/teuthology/lock.py b/teuthology/lock.py index b493d93fb4..be7ca51fce 100644 --- a/teuthology/lock.py +++ b/teuthology/lock.py @@ -160,8 +160,8 @@ def main(ctx): ctx.summary or ctx.brief, \ 'machines must be specified for that operation' if ctx.all: - assert ctx.list or ctx.list_targets, \ - '--all can only be used with --list and --list-targets' + assert ctx.list or ctx.list_targets or ctx.brief, \ + '--all can only be used with --list, --list-targets, and --brief' assert ctx.owner is None, \ '--all and --owner are mutually exclusive' assert not machines, \