enchive/src/docs.h

39 lines
1.3 KiB
C
Raw Normal View History

2017-03-05 04:35:48 +01:00
static const char *docs_usage[] = {
"usage enchive [-p|--pubkey <file>] [-s|--seckey <file>]",
2017-03-05 21:51:38 +01:00
#if ENCHIVE_OPTION_AGENT
2017-07-24 01:56:21 +02:00
" [-a|--agent[=seconds]] [-A|--no-agent]",
2017-03-05 21:51:38 +01:00
#endif
" [--version] [--help]",
2017-03-05 04:35:48 +01:00
" <command> [args]",
"",
"Commands (unique prefixes accepted):",
" keygen generate a new master keypair",
" archive archive using the public key",
" extract extract from an archive using the secret key",
" fingerprint print the master keypair fingerprint",
2017-03-05 04:35:48 +01:00
"",
" -p, --pubkey <file> set the public key file",
" -s, --seckey <file> set the secret key file",
2017-03-05 21:51:38 +01:00
#if ENCHIVE_OPTION_AGENT
2017-07-24 01:56:21 +02:00
" -a, --agent[=seconds] run key agent after reading a passphrase ["
2017-03-05 21:51:38 +01:00
STR(ENCHIVE_AGENT_TIMEOUT) "]",
2017-07-24 01:56:21 +02:00
" -A, --no-agent don't run the key agent"
# if ENCHIVE_AGENT_DEFAULT_ENABLED
"",
# else
" (default)",
# endif
2017-03-05 21:51:38 +01:00
#endif
" -e, --pinentry[=program] use pinentry to read passphrases"
#if ENCHIVE_PINENTRY_DEFAULT_ENABLED
" (default)",
#else
"",
#endif
2017-07-24 01:56:21 +02:00
" --version display version information",
" --help display this usage information",
2017-03-05 04:35:48 +01:00
"",
"Enchive archives files by encrypting them to yourself using your",
2017-03-09 19:32:40 +01:00
"public key. It uses ChaCha20, Curve25519, and HMAC-SHA256.",
2017-03-05 04:35:48 +01:00
0};