Files
pcp/src/usage.h
2015-07-30 11:46:17 +02:00

65 lines
3.1 KiB
C

#ifndef _HAVE_USAGE_H
#define _HAVE_USAGE_H
#define PCP_HELP "\n" \
"Usage: pcp1 [ --help | --version ]\n" \
" [ --keygen | --listkeys | --remove-key | --edit-key ]\n" \
" [ --export-public | --export-secret | --import ]\n" \
" [ --encrypt | --decrypt ]\n" \
" [ --sign | --check-signature ]\n" \
" [ arguments ]\n" \
"\n" \
"General Options:\n" \
"-h --help Print this help message.\n" \
" --version Print program version.\n" \
"-D --debug Enable debug output.\n" \
"-v --verbose Enable verbose output.\n" \
"-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" \
"-x --xpass <passwd> Provide password. INSECURE! Use for testing\n" \
" or debugging only!\n" \
"-X --password-file <file> Read passphrase from <file>.\n" \
" --extpass <program> Use external program for password prompt.\n" \
"-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" \
"\n" \
"Keymanagement Options:\n" \
"-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" \
"-K --import Import a secret or public key.\n" \
"-F --export-format <fmt> Specify exportformat, either 'pbp' or 'pcp'.\n" \
" 'pcp' is the default if unspecified.\n" \
"-j --json Enable JSON output (with -t, -p, -s and -K).\n" \
"\n" \
"Encryption Options:\n" \
"-e --encrypt Asym-Encrypt a message. If none of -i or -r\n" \
" has been given, encrypt the message symetrically.\n" \
"-A --anonymous Use anonymous sender key pair.\n" \
"-M --add-myself Add you primary pub key to list of recipients.\n" \
"-m --encrypt-sym Symetrically encrypt a message.\n" \
"-d --decrypt Decrypt a message.\n" \
"\n" \
"Signature Options:\n" \
"-g --sign Create a signature of a file.\n" \
"-c --check-signature Verify a signature of a file.\n" \
"-f --sigfile <file> Write or check a detached signature file.\n" \
"\n" \
"Encoding Options:\n" \
"-z --z85-encode Armor with Z85 encoding.\n" \
"-Z --z85-decode Decode Z85 encodeded input.\n" \
"-a --armor --textmode same as -z\n" \
"\n" \
"Misc Options:\n" \
"-C --checksum calculate a Blake2 checksum of one or more files.\n" \
" add -x <key> to compute an authenticated hash.\n" \
"\n" \
"Arguments:\n" \
"Extra arguments after options are treated as filenames or\n" \
"recipients, depending on operation mode.\n" \
""
#endif