예제 #1
0
파일: gpgtar.c 프로젝트: gpg/gnupg
    oNull,

    /* Compatibility with gpg-zip.  */
    oGpgArgs,
    oTarArgs,

    /* Debugging.  */
    oDryRun,
};


/* The list of commands and options. */
static ARGPARSE_OPTS opts[] = {
    ARGPARSE_group (300, N_("@Commands:\n ")),

    ARGPARSE_c (aEncrypt,   "encrypt", N_("create an archive")),
    ARGPARSE_c (aDecrypt,   "decrypt", N_("extract an archive")),
    ARGPARSE_c (aSign,      "sign",    N_("create a signed archive")),
    ARGPARSE_c (aList,      "list-archive", N_("list an archive")),

    ARGPARSE_group (301, N_("@\nOptions:\n ")),

    ARGPARSE_s_n (oSymmetric, "symmetric", N_("use symmetric encryption")),
    ARGPARSE_s_s (oRecipient, "recipient", N_("|USER-ID|encrypt for USER-ID")),
    ARGPARSE_s_s (oUser, "local-user",
    N_("|USER-ID|use USER-ID to sign or decrypt")),
    ARGPARSE_s_s (oOutput, "output", N_("|FILE|write output to FILE")),
    ARGPARSE_s_n (oVerbose, "verbose", N_("verbose")),
    ARGPARSE_s_n (oQuiet,	"quiet",  N_("be somewhat more quiet")),
    ARGPARSE_s_s (oGpgProgram, "gpg", "@"),
    ARGPARSE_s_n (oSkipCrypto, "skip-crypto", N_("skip the crypto processing")),
예제 #2
0
  oCardTimeout,
  octapiDriver,
  opcscDriver,
  oDisableCCID,
  oDisableOpenSC,
  oDisableKeypad,
  oAllowAdmin,
  oDenyAdmin,
  oDisableApplication,
  oDebugDisableTicker
};



static ARGPARSE_OPTS opts[] = {
  ARGPARSE_c (aGPGConfList, "gpgconf-list", "@"),
  ARGPARSE_c (aGPGConfTest, "gpgconf-test", "@"),

  ARGPARSE_group (301, N_("@Options:\n ")),

  ARGPARSE_s_n (oServer,"server", N_("run in server mode (foreground)")),
  ARGPARSE_s_n (oMultiServer, "multi-server",
                N_("run in multi server mode (foreground)")),
  ARGPARSE_s_n (oDaemon, "daemon", N_("run in daemon mode (background)")),
  ARGPARSE_s_n (oVerbose, "verbose", N_("verbose")),
  ARGPARSE_s_n (oQuiet,	"quiet", N_("be somewhat more quiet")),
  ARGPARSE_s_n (oSh,	"sh", N_("sh-style command output")),
  ARGPARSE_s_n (oCsh,	"csh", N_("csh-style command output")),
  ARGPARSE_s_s (oOptions, "options", N_("|FILE|read options from FILE")),
  ARGPARSE_p_u (oDebug,	"debug", "@"),
  ARGPARSE_s_n (oDebugAll, "debug-all", "@"),