Reformat documentation messages

This commit is contained in:
Tom Wiesing 2022-12-08 11:45:52 +01:00
parent aefde6eec2
commit c80c8f2297
No known key found for this signature in database
29 changed files with 61 additions and 61 deletions

View file

@ -12,11 +12,11 @@ import (
var Backup wisski_distillery.Command = backup{}
type backup struct {
NoPrune bool `short:"n" long:"no-prune" description:"Do not prune older backup archives"`
StagingOnly bool `short:"s" long:"staging-only" description:"Do not package into a backup archive, but only create a staging directory"`
ConcurrentSnapshots int `short:"c" long:"concurrent-snapshots" description:"Maximum number of concurrent snapshots" default:"2"`
NoPrune bool `short:"n" long:"no-prune" description:"do not prune older backup archives"`
StagingOnly bool `short:"s" long:"staging-only" description:"do not package into a backup archive, but only create a staging directory"`
ConcurrentSnapshots int `short:"c" long:"concurrent-snapshots" description:"maximum number of concurrent snapshots" default:"2"`
Positionals struct {
Dest string `positional-arg-name:"DEST" description:"Destination path to write backup archive to. Defaults to the snapshots/archives/ directory"`
Dest string "positional-arg-name:\"DEST\" description:\"destination path to write backup archive to. defaults to the `snapshots/archives/` directory\""
} `positional-args:"true"`
}
@ -26,7 +26,7 @@ func (backup) Description() wisski_distillery.Description {
NeedsDistillery: true,
},
Command: "backup",
Description: "Makes a backup of the entire distillery",
Description: "makes a backup of the entire distillery",
}
}