mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-04 12:39:38 +01:00
test pattern subcommand: better example command
This commit is contained in:
parent
746fb4ff88
commit
56f13741f9
@ -36,7 +36,7 @@ var testConfigSyntaxCmd = &cobra.Command{
|
|||||||
var testDatasetMapFilter = &cobra.Command{
|
var testDatasetMapFilter = &cobra.Command{
|
||||||
Use: "pattern jobname test/zfs/dataset/path",
|
Use: "pattern jobname test/zfs/dataset/path",
|
||||||
Short: "test dataset mapping / filter specified in config",
|
Short: "test dataset mapping / filter specified in config",
|
||||||
Example: ` zrepl test pattern prune.clean_backups tank/backups/legacyscript/foo`,
|
Example: ` zrepl test pattern my_pull_job tank/tmp`,
|
||||||
Run: doTestDatasetMapFilter,
|
Run: doTestDatasetMapFilter,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user