mirror of
https://github.com/restic/restic.git
synced 2026-11-25 07:16:54 +00:00
Add documentation on exit status codes to man pages
This is step one to start defining useful exit codes for all the commands.
This commit is contained in:
1 parent
4615bdfd70
commit
94f4f13388
27 files changed
+144
-3
No files matched your search
@@ -12,6 +12,11 @@ var cmdInit = &cobra.Command{
|
||||
Short: "Initialize a new repository",
|
||||
Long: `
|
||||
The "init" command initializes a new repository.
|
||||
|
||||
EXIT STATUS
|
||||
===========
|
||||
|
||||
Exit status is 0 if the command was successful, and non-zero if there was any error.
|
||||
`,
|
||||
DisableAutoGenTag: true,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
|
||||
Reference in new issue
Block a user