1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-06-27 04:28:30 +00:00

*: begin incorporating the "validate" subcommand

Update the README to show the validate subcommand by default.
This doesn't eliminate the default behavior of _not_ using the command,
but begins the visibility of using it by default.

Also copy one of the existing tests, to ensure the same behaviour works
as we add more subcommands and/or global flags.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-10-24 10:25:18 -04:00
parent 48e5e86700
commit e19072ac1c
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
3 changed files with 50 additions and 5 deletions

View file

@ -15,6 +15,7 @@ import (
func NewValidateCommand() *cli.Command {
return &cli.Command{
Name: "validate",
Usage: "Create and validate a filesystem hierarchy (this is default tool behavior)",
Action: validateAction,
Flags: []cli.Flag{
// Flags common with mtree(8)