Skip to content

Commit 7a564c9

Browse files
committed
pwqfilter: Allow --pre-hashed after --hash*
We allowed this combination of options in the other order, and its effect is documented in the man page. No reason to insist on the order.
1 parent a866d8c commit 7a564c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwqfilter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ int main(int argc, char **argv)
10621062
}
10631063

10641064
if (!strcmp("--pre-hashed", opt)) {
1065-
if ((options & OPT_HASH_ALL) || mode == MODE_STATUS)
1065+
if (mode == MODE_STATUS)
10661066
goto fail_conflict;
10671067
options |= OPT_PRE_HASHED;
10681068
continue;

0 commit comments

Comments
 (0)