mirror of https://github.com/skeeto/enchive.git
Document the --plain option.
parent
ebd34b593a
commit
0f8f3ea733
1
docs.h
1
docs.h
|
@ -20,6 +20,7 @@ static const char docs_keygen[] =
|
||||||
" Generate a brand new keypair.\n"
|
" Generate a brand new keypair.\n"
|
||||||
"\n"
|
"\n"
|
||||||
" --force, -f overwrite any existing keys (default: no clobber)\n"
|
" --force, -f overwrite any existing keys (default: no clobber)\n"
|
||||||
|
" --plain, -u don't encrypt the secret key\n"
|
||||||
"\n"
|
"\n"
|
||||||
"The global --pubkey and --seckey options select the filenames.\n";
|
"The global --pubkey and --seckey options select the filenames.\n";
|
||||||
|
|
||||||
|
|
|
@ -573,6 +573,8 @@ command_extract(struct optparse *options)
|
||||||
int option;
|
int option;
|
||||||
while ((option = optparse_long(options, extract, 0)) != -1) {
|
while ((option = optparse_long(options, extract, 0)) != -1) {
|
||||||
switch (option) {
|
switch (option) {
|
||||||
|
default:
|
||||||
|
fatal("%s", options->errmsg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue