Document the --plain option.

pull/2/head
Christopher Wellons 2017-03-03 18:15:30 -05:00
parent ebd34b593a
commit 0f8f3ea733
2 changed files with 3 additions and 0 deletions

1
docs.h
View File

@ -20,6 +20,7 @@ static const char docs_keygen[] =
" Generate a brand new keypair.\n"
"\n"
" --force, -f overwrite any existing keys (default: no clobber)\n"
" --plain, -u don't encrypt the secret key\n"
"\n"
"The global --pubkey and --seckey options select the filenames.\n";

View File

@ -573,6 +573,8 @@ command_extract(struct optparse *options)
int option;
while ((option = optparse_long(options, extract, 0)) != -1) {
switch (option) {
default:
fatal("%s", options->errmsg);
}
}