MANPAGE: update exit codes
The exit codes have been documented in CLI_ABI.md for a while, but they should also be listed in the man page. Also fix the rendering of "[-o COMMA-SEPARATED-OPTIONS]", where the square brackets where interpreted as something. Escape all square brackets to be safe.
This commit is contained in:
parent
a605e8fed0
commit
26a6e61a46
|
@ -1,6 +1,6 @@
|
||||||
% GOCRYPTFS(1)
|
% GOCRYPTFS(1)
|
||||||
% github.com/rfjakob
|
% github.com/rfjakob
|
||||||
% Oct 2016
|
% Aug 2017
|
||||||
|
|
||||||
NAME
|
NAME
|
||||||
====
|
====
|
||||||
|
@ -11,13 +11,13 @@ SYNOPSIS
|
||||||
========
|
========
|
||||||
|
|
||||||
#### Initialize encrypted filesystem
|
#### Initialize encrypted filesystem
|
||||||
gocryptfs -init [OPTIONS] CIPHERDIR
|
gocryptfs -init \[OPTIONS\] CIPHERDIR
|
||||||
|
|
||||||
#### Mount
|
#### Mount
|
||||||
gocryptfs [OPTIONS] CIPHERDIR MOUNTPOINT [-o COMMA-SEPARATED-OPTIONS]
|
gocryptfs \[OPTIONS\] CIPHERDIR MOUNTPOINT \[-o COMMA-SEPARATED-OPTIONS\]
|
||||||
|
|
||||||
#### Change password
|
#### Change password
|
||||||
gocryptfs -passwd [OPTIONS] CIPHERDIR
|
gocryptfs -passwd \[OPTIONS\] CIPHERDIR
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
===========
|
===========
|
||||||
|
@ -289,7 +289,12 @@ EXIT CODES
|
||||||
==========
|
==========
|
||||||
|
|
||||||
0: success
|
0: success
|
||||||
|
6: CIPHERDIR is not an empty directory (on "-init")
|
||||||
|
10: MOUNTPOINT is not an empty directory
|
||||||
12: password incorrect
|
12: password incorrect
|
||||||
|
22: password is empty (on "-init")
|
||||||
|
23: could not read gocryptfs.conf
|
||||||
|
24: could not write gocryptfs.conf (on "-init" or "-password")
|
||||||
other: please check the error message
|
other: please check the error message
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
||||||
|
|
Loading…
Reference in New Issue