2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-26 06:46:34 +00:00

dump: use correct help text for filter options

This commit is contained in:
Michael Eischer 2022-10-03 13:05:06 +02:00
parent 7a6dcb4831
commit cff22a5f01

View File

@ -50,7 +50,7 @@ func init() {
cmdRoot.AddCommand(cmdDump)
flags := cmdDump.Flags()
initMultiSnapshotFilterOptions(flags, &dumpOptions.snapshotFilterOptions, true)
initSingleSnapshotFilterOptions(flags, &dumpOptions.snapshotFilterOptions)
flags.StringVarP(&dumpOptions.Archive, "archive", "a", "tar", "set archive `format` as \"tar\" or \"zip\"")
}