diff options
author | Antonio Alvarez Feijoo <antonio.feijoo@suse.com> | 2024-11-12 16:18:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-11-12 17:52:48 +0100 |
commit | 2a310c0ad6ed5e77a603c839fcedcd803e527325 (patch) | |
tree | 3181501ce7cacb00b73512a1517d8b6f32175123 /src/sbsign/sbsign.c | |
parent | mkosi: Install tpm2-tss-devel to tools for CentOS and Fedora instead of tss2-... (diff) | |
download | systemd-2a310c0ad6ed5e77a603c839fcedcd803e527325.tar.xz systemd-2a310c0ad6ed5e77a603c839fcedcd803e527325.zip |
sbsign: remove unused --no-pager option
Diffstat (limited to '')
-rw-r--r-- | src/sbsign/sbsign.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/sbsign/sbsign.c b/src/sbsign/sbsign.c index 81970a7302..d17fdfea5e 100644 --- a/src/sbsign/sbsign.c +++ b/src/sbsign/sbsign.c @@ -18,7 +18,6 @@ #include "tmpfile-util.h" #include "verbs.h" -static PagerFlags arg_pager_flags = 0; static char *arg_output = NULL; static char *arg_certificate = NULL; static CertificateSourceType arg_certificate_source_type = OPENSSL_CERTIFICATE_SOURCE_FILE; @@ -48,7 +47,6 @@ static int help(int argc, char *argv[], void *userdata) { "\n%3$sOptions:%4$s\n" " -h --help Show this help\n" " --version Print version\n" - " --no-pager Do not pipe output into a pager\n" " --output Where to write the signed PE binary\n" " --certificate=PATH|URI\n" " PEM certificate to use for signing, or a provider\n" @@ -75,7 +73,6 @@ static int help(int argc, char *argv[], void *userdata) { static int parse_argv(int argc, char *argv[]) { enum { ARG_VERSION = 0x100, - ARG_NO_PAGER, ARG_OUTPUT, ARG_CERTIFICATE, ARG_CERTIFICATE_SOURCE, @@ -85,7 +82,6 @@ static int parse_argv(int argc, char *argv[]) { static const struct option options[] = { { "help", no_argument, NULL, 'h' }, - { "no-pager", no_argument, NULL, ARG_NO_PAGER }, { "version", no_argument, NULL, ARG_VERSION }, { "output", required_argument, NULL, ARG_OUTPUT }, { "certificate", required_argument, NULL, ARG_CERTIFICATE }, @@ -110,10 +106,6 @@ static int parse_argv(int argc, char *argv[]) { case ARG_VERSION: return version(); - case ARG_NO_PAGER: - arg_pager_flags |= PAGER_DISABLE; - break; - case ARG_OUTPUT: r = parse_path_argument(optarg, /*suppress_root=*/ false, &arg_output); if (r < 0) |