96
98
static ARGPARSE_OPTS opts[] = {
98
{ aGPGConfList, "gpgconf-list", 256, "@" },
99
{ aGPGConfTest, "gpgconf-test", 256, "@" },
99
ARGPARSE_c (aGPGConfList, "gpgconf-list", "@"),
100
ARGPARSE_c (aGPGConfTest, "gpgconf-test", "@"),
101
{ 301, NULL, 0, N_("@Options:\n ") },
102
ARGPARSE_group (301, N_("@Options:\n ")),
103
{ oServer, "server", 0, N_("run in server mode (foreground)") },
104
{ oMultiServer, "multi-server", 0,
105
N_("run in multi server mode (foreground)") },
106
{ oDaemon, "daemon", 0, N_("run in daemon mode (background)") },
107
{ oVerbose, "verbose", 0, N_("verbose") },
108
{ oQuiet, "quiet", 0, N_("be somewhat more quiet") },
109
{ oSh, "sh", 0, N_("sh-style command output") },
110
{ oCsh, "csh", 0, N_("csh-style command output") },
111
{ oOptions, "options" , 2, N_("read options from file")},
112
{ oDebug, "debug" ,4|16, "@"},
113
{ oDebugAll, "debug-all" ,0, "@"},
114
{ oDebugLevel, "debug-level" ,2, "@"},
115
{ oDebugWait,"debug-wait",1, "@"},
116
{ oDebugAllowCoreDump, "debug-allow-core-dump", 0, "@" },
117
{ oDebugCCIDDriver, "debug-ccid-driver", 0, "@"},
118
{ oDebugDisableTicker, "debug-disable-ticker", 0, "@"},
119
{ oNoDetach, "no-detach" ,0, N_("do not detach from the console")},
120
{ oLogFile, "log-file" ,2, N_("use a log file for the server")},
121
{ oReaderPort, "reader-port", 2, N_("|N|connect to reader at port N")},
122
{ octapiDriver, "ctapi-driver", 2, N_("|NAME|use NAME as ct-API driver")},
123
{ opcscDriver, "pcsc-driver", 2, N_("|NAME|use NAME as PC/SC driver")},
124
{ oDisableCCID, "disable-ccid", 0,
104
ARGPARSE_s_n (oServer,"server", N_("run in server mode (foreground)")),
105
ARGPARSE_s_n (oMultiServer, "multi-server",
106
N_("run in multi server mode (foreground)")),
107
ARGPARSE_s_n (oDaemon, "daemon", N_("run in daemon mode (background)")),
108
ARGPARSE_s_n (oVerbose, "verbose", N_("verbose")),
109
ARGPARSE_s_n (oQuiet, "quiet", N_("be somewhat more quiet")),
110
ARGPARSE_s_n (oSh, "sh", N_("sh-style command output")),
111
ARGPARSE_s_n (oCsh, "csh", N_("csh-style command output")),
112
ARGPARSE_s_s (oOptions, "options", N_("|FILE|read options from FILE")),
113
ARGPARSE_p_u (oDebug, "debug", "@"),
114
ARGPARSE_s_n (oDebugAll, "debug-all", "@"),
115
ARGPARSE_s_s (oDebugLevel, "debug-level" ,
116
N_("|LEVEL|set the debugging level to LEVEL")),
117
ARGPARSE_s_i (oDebugWait, "debug-wait", "@"),
118
ARGPARSE_s_n (oDebugAllowCoreDump, "debug-allow-core-dump", "@"),
119
ARGPARSE_s_n (oDebugCCIDDriver, "debug-ccid-driver", "@"),
120
ARGPARSE_s_n (oDebugDisableTicker, "debug-disable-ticker", "@"),
121
ARGPARSE_s_n (oDebugLogTid, "debug-log-tid", "@"),
122
ARGPARSE_s_n (oNoDetach, "no-detach", N_("do not detach from the console")),
123
ARGPARSE_s_s (oLogFile, "log-file", N_("|FILE|write a log to FILE")),
124
ARGPARSE_s_s (oReaderPort, "reader-port",
125
N_("|N|connect to reader at port N")),
126
ARGPARSE_s_s (octapiDriver, "ctapi-driver",
127
N_("|NAME|use NAME as ct-API driver")),
128
ARGPARSE_s_s (opcscDriver, "pcsc-driver",
129
N_("|NAME|use NAME as PC/SC driver")),
130
ARGPARSE_s_n (oDisableCCID, "disable-ccid",
125
131
#ifdef HAVE_LIBUSB
126
132
N_("do not use the internal CCID driver")
130
/* end --disable-ccid */},
131
{ oDisableKeypad, "disable-keypad", 0, N_("do not use a reader's keypad")},
132
{ oAllowAdmin, "allow-admin", 0, N_("allow the use of admin card commands")},
133
{ oDenyAdmin, "deny-admin", 0, "@" },
134
{ oDisableApplication, "disable-application", 2, "@"},
136
/* end --disable-ccid */),
137
ARGPARSE_s_u (oCardTimeout, "card-timeout",
138
N_("|N|disconnect the card after N seconds of inactivity")),
139
ARGPARSE_s_n (oDisableKeypad, "disable-keypad",
140
N_("do not use a reader's keypad")),
141
ARGPARSE_s_n (oAllowAdmin, "allow-admin", "@"),
142
ARGPARSE_s_n (oDenyAdmin, "deny-admin",
143
N_("deny the use of admin card commands")),
144
ARGPARSE_s_s (oDisableApplication, "disable-application", "@"),