test pattern subcommand: better example command

This commit is contained in:
Christian Schwarz 2017-12-29 22:45:38 +01:00
parent 746fb4ff88
commit 56f13741f9

View File

@ -36,7 +36,7 @@ var testConfigSyntaxCmd = &cobra.Command{
var testDatasetMapFilter = &cobra.Command{
Use: "pattern jobname test/zfs/dataset/path",
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,
}