2013-10-28 22:50:05 +01:00
|
|
|
#ifndef _HAVE_USAGE_H
|
|
|
|
|
#define _HAVE_USAGE_H
|
|
|
|
|
#define PCP_HELP "\n" \
|
2014-01-30 20:55:23 +01:00
|
|
|
"Usage: pcp1 [ --help | --version ]\n" \
|
2014-03-04 23:05:47 +01:00
|
|
|
" [ --keygen | --listkeys | --remove-key | --edit-key ]\n" \
|
|
|
|
|
" [ --export-public | --export-secret | --import ]\n" \
|
2014-08-11 19:27:38 +02:00
|
|
|
" [ --encrypt | --decrypt ]\n" \
|
2014-02-05 13:08:01 +01:00
|
|
|
" [ --sign | --check-signature ]\n" \
|
2014-02-07 11:55:44 +01:00
|
|
|
" [ arguments ]\n" \
|
2013-10-28 22:50:05 +01:00
|
|
|
"\n" \
|
|
|
|
|
"General Options:\n" \
|
|
|
|
|
"-h --help Print this help message.\n" \
|
2014-03-02 22:01:03 +01:00
|
|
|
" --version Print program version.\n" \
|
2013-10-28 22:50:05 +01:00
|
|
|
"-D --debug Enable debug output.\n" \
|
2014-03-02 22:01:03 +01:00
|
|
|
"-v --verbose Enable verbose output.\n" \
|
2014-01-30 20:55:23 +01:00
|
|
|
"-V --vault <vaultfile> Specify an alternate vault file.\n" \
|
|
|
|
|
"-O --outfile <file> Output file. STDOUT if unspecified.\n" \
|
|
|
|
|
"-I --infile <file> Input file. STDIN if unspecified.\n" \
|
2015-05-30 11:11:20 +02:00
|
|
|
"-X --password-file <file> Read passphrase from <file>.\n" \
|
2014-01-30 20:55:23 +01:00
|
|
|
"-i --keyid <id> Specify a key id for various operations.\n" \
|
|
|
|
|
"-r --recipient <string> Specify a recpipient, multiple allowed.\n" \
|
|
|
|
|
"-t --text Print textual representation of ojects.\n" \
|
2013-10-28 22:50:05 +01:00
|
|
|
"\n" \
|
|
|
|
|
"Keymanagement Options:\n" \
|
2014-01-30 20:55:23 +01:00
|
|
|
"-k --keygen Generate new key pair.\n" \
|
|
|
|
|
"-l --listkeys List all keys stored in your vault.\n" \
|
|
|
|
|
"-R --remove-key Remove a key from the vault.\n" \
|
|
|
|
|
"-s --export-secret Export a secret key.\n" \
|
|
|
|
|
"-p --export-public Export a public key.\n" \
|
2014-05-06 11:51:54 +02:00
|
|
|
"-K --import Import a secret or public key.\n" \
|
2014-02-12 00:37:41 +01:00
|
|
|
"-F --export-format <fmt> Specify exportformat, either 'pbp' or 'pcp'.\n" \
|
|
|
|
|
" 'pcp' is the default if unspecified.\n" \
|
2015-07-06 23:02:04 +02:00
|
|
|
"-j --json Enable JSON ex- and import of keys.\n" \
|
|
|
|
|
"\n" \
|
2013-10-28 22:50:05 +01:00
|
|
|
"Encryption Options:\n" \
|
2014-01-30 20:55:23 +01:00
|
|
|
"-e --encrypt Asym-Encrypt a message. If none of -i or -r\n" \
|
|
|
|
|
" has been given, encrypt the message symetrically.\n" \
|
2014-08-11 19:27:38 +02:00
|
|
|
"-A --anonymous Use anonymous sender key pair.\n" \
|
2015-04-19 19:49:13 +02:00
|
|
|
"-M --add-myself Add you primary pub key to list of recipients.\n" \
|
|
|
|
|
"-m --encrypt-sym Symetrically encrypt a message.\n" \
|
2014-01-30 20:55:23 +01:00
|
|
|
"-d --decrypt Decrypt a message.\n" \
|
2013-10-28 22:50:05 +01:00
|
|
|
"\n" \
|
2013-11-08 12:50:04 +01:00
|
|
|
"Signature Options:\n" \
|
2014-01-30 20:55:23 +01:00
|
|
|
"-g --sign Create a signature of a file.\n" \
|
2014-02-05 13:08:01 +01:00
|
|
|
"-c --check-signature Verify a signature of a file.\n" \
|
|
|
|
|
"-f --sigfile <file> Write or check a detached signature file.\n" \
|
2013-11-08 12:50:04 +01:00
|
|
|
"\n" \
|
2013-10-28 22:50:05 +01:00
|
|
|
"Encoding Options:\n" \
|
2014-01-30 20:55:23 +01:00
|
|
|
"-z --z85-encode Armor with Z85 encoding.\n" \
|
2014-02-07 11:55:44 +01:00
|
|
|
"\n" \
|
|
|
|
|
"Arguments:\n" \
|
|
|
|
|
"Extra arguments after options are treated as filenames or\n" \
|
|
|
|
|
"recipients, depending on operation mode.\n" \
|
2015-07-06 23:02:04 +02:00
|
|
|
""
|
2013-10-28 22:50:05 +01:00
|
|
|
#endif
|