mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 06:10:13 -05:00
Document exit code in the manpage
This commit is contained in:
parent
e0d2a0f08c
commit
fa4dd42368
3 changed files with 40 additions and 5 deletions
|
|
@ -2030,7 +2030,23 @@ a TrueType font like \`Lucida Console\` as the console font.
|
||||||
This affects only the printed file names; if you
|
This affects only the printed file names; if you
|
||||||
redirect the console output to a file, the resulting file is always
|
redirect the console output to a file, the resulting file is always
|
||||||
in UTF\-8 format.
|
in UTF\-8 format.
|
||||||
|
.SH EXIT CODE
|
||||||
|
SnapRAID terminates with the following error codes:
|
||||||
|
.RS 0
|
||||||
|
.PD 0
|
||||||
|
.HP 4
|
||||||
|
.I 0
|
||||||
|
Everything OK.
|
||||||
|
.HP 4
|
||||||
|
.I 1
|
||||||
|
The command encountered some errors.
|
||||||
|
.HP 4
|
||||||
|
.I 2
|
||||||
|
The \`diff\` command found everything is OK, but a \`sync\` is
|
||||||
|
needed.
|
||||||
|
.PD
|
||||||
|
.RE
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
This file is Copyright (C) 2025 Andrea Mazzoleni
|
This file is Copyright (C) 2026 Andrea Mazzoleni
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
snapraid_log(1), snapraidd(1), rsync(1)
|
snapraid_log(1), snapraidd(1), rsync(1)
|
||||||
|
|
|
||||||
|
|
@ -1573,8 +1573,16 @@ Encoding
|
||||||
redirect the console output to a file, the resulting file is always
|
redirect the console output to a file, the resulting file is always
|
||||||
in UTF-8 format.
|
in UTF-8 format.
|
||||||
|
|
||||||
|
Exit Code
|
||||||
|
SnapRAID terminates with the following error codes:
|
||||||
|
|
||||||
|
0 - Everything OK.
|
||||||
|
1 - The command encountered some errors.
|
||||||
|
2 - The `diff` command found everything is OK, but a `sync` is
|
||||||
|
needed.
|
||||||
|
|
||||||
Copyright
|
Copyright
|
||||||
This file is Copyright (C) 2025 Andrea Mazzoleni
|
This file is Copyright (C) 2026 Andrea Mazzoleni
|
||||||
|
|
||||||
See Also
|
See Also
|
||||||
snapraid_log(1), snapraidd(1), rsync(1)
|
snapraid_log(1), snapraidd(1), rsync(1)
|
||||||
|
|
|
||||||
|
|
@ -1689,13 +1689,24 @@ redirect the console output to a file, the resulting file is always
|
||||||
in UTF-8 format.
|
in UTF-8 format.
|
||||||
|
|
||||||
|
|
||||||
13 COPYRIGHT
|
13 EXIT CODE
|
||||||
============
|
============
|
||||||
|
|
||||||
This file is Copyright (C) 2025 Andrea Mazzoleni
|
SnapRAID terminates with the following error codes:
|
||||||
|
|
||||||
|
0 - Everything OK.
|
||||||
|
1 - The command encountered some errors.
|
||||||
|
2 - The `diff` command found everything is OK, but a `sync` is
|
||||||
|
needed.
|
||||||
|
|
||||||
|
|
||||||
14 SEE ALSO
|
14 COPYRIGHT
|
||||||
|
============
|
||||||
|
|
||||||
|
This file is Copyright (C) 2026 Andrea Mazzoleni
|
||||||
|
|
||||||
|
|
||||||
|
15 SEE ALSO
|
||||||
===========
|
===========
|
||||||
|
|
||||||
snapraid_log(1), snapraidd(1), rsync(1)
|
snapraid_log(1), snapraidd(1), rsync(1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue