]> git.ozlabs.org Git - patchwork/commit
pwclient: diagnose hash_parser errors gracefully
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 29 Aug 2014 12:02:08 +0000 (14:02 +0200)
committerJeremy Kerr <jk@ozlabs.org>
Sun, 7 Sep 2014 11:35:54 +0000 (19:35 +0800)
commit5eb03e3639ea2bc599e42372f0570df653faeeb2
tree72c7e6a81d840a3859fe4abd912b5fbdfe6426e8
parentaf90fe7c550ada3c035f1a5a4f9b18a0b816232c
pwclient: diagnose hash_parser errors gracefully

a386e636cc0adaa760a66b6ab042178027fc45c7 removed argparse mutual
exclusive group, so manually diagnose:

1) missing required hash_str / IDs
2) if both hash_str as well as IDs are seen

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/bin/pwclient