tests: Fix check.

- When checking if there are any user ID arguments, also check for
    `--userid`.
This commit is contained in:
Neal H. Walfield 2024-11-16 07:12:13 +01:00
parent 574dcf9b22
commit 8e41fb7cd4
No known key found for this signature in database
GPG Key ID: 6863C9AD5B4D22D3

View File

@ -755,7 +755,8 @@ impl Sq {
let any_userids = ! userids.is_empty()
|| extra_args.iter().any(|a| a.starts_with("--name")
|| a.starts_with("--email"));
|| a.starts_with("--email")
|| a.starts_with("--userid"));
if ! any_userids {
cmd.arg("--no-userids");
} else {