summaryrefslogtreecommitdiffstats
path: root/apps/__init__.py
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-08-29 11:07:02 +0200
committerJeremy Kerr <jk@ozlabs.org>2014-09-07 19:35:54 +0800
commitaf90fe7c550ada3c035f1a5a4f9b18a0b816232c (patch)
tree618ab2375e40ea7d5d4efc0f11191affdf51a81d /apps/__init__.py
parentbb7c1fe54844dcbb52574c31296e042c4eb46039 (diff)
downloadpatchwork-af90fe7c550ada3c035f1a5a4f9b18a0b816232c.tar.bz2
patchwork-af90fe7c550ada3c035f1a5a4f9b18a0b816232c.tar.xz
pwclient: allow multiple IDs
Allow commands that take an ID to operate on multiple IDs. E.g.: update -s Superseded 1 2 3 4 5 apply 2 4 6 Reject update -c COMMIT-REF on multiple IDs though as that does not make sense. Implementation note: nargs='*' instead of '?' results in (wrong/inconvenient): mutually exclusive arguments must be optional So remove mutual exclusive handling via argparse and instead do it by hand. This might be implemented more conveniently in later python but we (have to) stick with 2.7.x for the time being. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/__init__.py')
0 files changed, 0 insertions, 0 deletions