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:
parent
48e5e86700
commit
e19072ac1c
3 changed files with 50 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue