Commit a466ebb
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 <[email protected]>
Reviewed-by: Mike Frysinger <[email protected]>
Reviewed-by: Stephen Finucane <[email protected]>1 parent 8bd696b commit a466ebb
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | | - | |
511 | 510 | | |
512 | 511 | | |
513 | 512 | | |
| |||
572 | 571 | | |
573 | 572 | | |
574 | 573 | | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
575 | 577 | | |
576 | 578 | | |
577 | 579 | | |
| |||
0 commit comments