document -C in .ronn files and fix synopsis of 'git secret hide'

pull/245/head
joshr 6 years ago
parent afec23fb17
commit fc9f4878a1

@ -3,7 +3,7 @@ git-secret-hide - encrypts all added files with the inner keyring.
## SYNOPSIS
git secret hide [-c] [-v]
git secret hide [-c] [-C] [-v] [-d] [-m]
## DESCRIPTION
@ -19,6 +19,7 @@ It is possible to modify the names of the encrypted files by setting `SECRETS_EX
-v - verbose, shows extra information.
-c - deletes encrypted files before creating new ones.
-C - sets permissions of encrypted file to match unencrypted file
-d - deletes unencrypted files after encryption.
-m - encrypt files only when modified.
-h - shows help.

@ -3,7 +3,7 @@ git-secret-reveal - decrypts all added files.
## SYNOPSIS
git secret reveal [-f] [-c] [-d dir] [-p password]
git secret reveal [-f] [-C] [-d dir] [-p password]
## DESCRIPTION
@ -18,7 +18,7 @@ Under the hood, this uses the `gpg --decrypt` command.
-f - forces to overwrite existing files without prompt.
-d - specifies `--homedir` option for the `gpg`, basically use this option if you store your keys in a custom location.
-p - specifies password for noinput mode, adds `--passphrase` option for `gpg`.
-c - attempts to set decrypted file to same permissions as encrypted file (normally would be -p but that's used above).
-C - set decrypted file to same permissions as encrypted file.
-h - shows help.

Loading…
Cancel
Save