fixed file checker
This commit is contained in:
@@ -131,7 +131,7 @@ func (util *FileUtil) MakeFileCmds() *cobra.Command {
|
||||
Use: "check [user:pass@]hostname[:port]/catalog",
|
||||
Args: cobra.ExactArgs(1),
|
||||
Short: "Ckeck files in storage",
|
||||
Run: util.ListFiles,
|
||||
Run: util.CheckFiles,
|
||||
}
|
||||
checkFilesCmd.Flags().BoolVarP(&util.checkFilesParams.Detail, "detail", "D", false, "Show detail file information")
|
||||
checkFilesCmd.Flags().BoolVarP(&util.checkFilesParams.Prefix, "prefix", "P", true, "Use path as collection path prefix")
|
||||
|
||||
Reference in New Issue
Block a user