mirror of
https://github.com/minio/mc.git
synced 2025-11-13 12:22:45 +03:00
global flags are replaced with command speific flags, but still retain global behavior
This commit is contained in:
@@ -42,7 +42,7 @@ var diffCmd = cli.Command{
|
||||
Usage: "Compute differences between two folders.",
|
||||
Description: "Diff only lists missing objects or objects with size differences. It *DOES NOT* compare contents. i.e. Objects of same name and size, but differ in contents are not noticed.",
|
||||
Action: mainDiff,
|
||||
Flags: []cli.Flag{diffFlagHelp},
|
||||
Flags: append(globalFlags, diffFlagHelp),
|
||||
CustomHelpTemplate: `NAME:
|
||||
mc {{.Name}} - {{.Usage}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user