tpm2-util: allow to control if legend and/or footer shown by tpm2_list_devices()
This commit is contained in:
+1
-1
@@ -8160,7 +8160,7 @@ static int parse_argv(int argc, char *argv[], X509 **ret_certificate, EVP_PKEY *
|
||||
_cleanup_free_ char *device = NULL;
|
||||
|
||||
if (streq(optarg, "list"))
|
||||
return tpm2_list_devices();
|
||||
return tpm2_list_devices(/* legend = */ true, /* quiet = */ false);
|
||||
|
||||
if (!streq(optarg, "auto")) {
|
||||
device = strdup(optarg);
|
||||
|
||||
Reference in New Issue
Block a user