mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-25 21:45:20 +02:00
test pattern subcommand: better example command
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user