Convert more programs to the new option and verb parsers (#41458)

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-04-04 10:21:14 +02:00
committed by GitHub
51 changed files with 366 additions and 419 deletions
+1 -5
View File
@@ -6586,11 +6586,7 @@ int tpm2_list_devices(bool legend, bool quiet) {
return 0;
}
r = table_print(t, stdout);
if (r < 0)
return log_error_errno(r, "Failed to show device table: %m");
return 0;
return table_print_or_warn(t);
#else
return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP),
"TPM2 not supported on this build.");