]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
lock: remove --list --brief example 1788/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 1 Sep 2022 21:16:57 +0000 (17:16 -0400)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 1 Sep 2022 21:18:18 +0000 (17:18 -0400)
The --list and --brief arguments are exclusive.

  teuthology-lock: error: argument --brief: not allowed
  with argument --list

scripts/lock.py

index 939800a4953ff3f7b419d315fd350815775f4d35..69e50ccafbdc33a46890a305e2d63884733c5dea 100644 (file)
@@ -27,8 +27,8 @@ def parse_args(argv):
             teuthology-lock --lock-many 1 --machine-type vps
             teuthology-lock --lock -t target.yaml
             teuthology-lock --list-targets plana01
-            teuthology-lock --list --brief --owner user@host
             teuthology-lock --brief
+            teuthology-lock --brief --owner user@host
             teuthology-lock --update --status down --desc testing plana01
         '''),
         formatter_class=argparse.RawTextHelpFormatter)