Merge pull request #6991 from aduffeck/fix-subcommand

Remove subcommand from rebuild-jsoncs3-indexes that doesn't belong there
This commit is contained in:
Andre Duffeck
2023-08-09 08:51:07 +02:00
committed by GitHub
+4 -6
View File
@@ -62,12 +62,10 @@ func init() {
// RebuildJSONCS3Indexes rebuilds the share indexes from the shares json
func RebuildJSONCS3Indexes(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "rebuild-jsoncs3-indexes",
Usage: "rebuild the share indexes from the shares json",
Subcommands: []*cli.Command{
ListDecomposedfsMigrations(cfg),
},
Flags: []cli.Flag{},
Name: "rebuild-jsoncs3-indexes",
Usage: "rebuild the share indexes from the shares json",
Subcommands: []*cli.Command{},
Flags: []cli.Flag{},
Before: func(c *cli.Context) error {
// Parse base config
if err := parser.ParseConfig(cfg, true); err != nil {