]> git.ipfire.org Git - thirdparty/patchwork.git/commit
pwclient: require one or more of pwclient -{a,s}
authorBrian Norris <computersforpeace@gmail.com>
Fri, 16 Oct 2015 23:39:01 +0000 (16:39 -0700)
committerStephen Finucane <stephen.finucane@intel.com>
Tue, 20 Oct 2015 00:51:57 +0000 (01:51 +0100)
commita466ebb4e7436849f7b627d93fb466b290f194f9
treef4fd788153b943ebbe64d33149ac78433a0c89f8
parent8bd696b94ae486d0908d26e95edb757d3d674916
pwclient: require one or more of pwclient -{a,s}

Previously, we required the -s flag for 'pwclient update'. But since we
allow updating up to 2 different fields ('archived' and 'state'), drop
the required flag, and just enforce that the user must provide -a, -s,
or both.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/bin/pwclient