cosmetic: Hide mc admin bucket and its subcommands visible (#4905)

Current mc admin bucket is visible under 'mc admin' however, mc admin
bucket will not show sub-commands, which is confusing.

Hide mc admin bucket and make mc admin bucket subcommands visible for
now, until removed later.
This commit is contained in:
Anis Eleuch
2024-04-18 09:45:29 -07:00
committed by GitHub
parent 58a9cb37ec
commit 3ec030eb26
6 changed files with 1 additions and 5 deletions
-1
View File
@@ -31,7 +31,6 @@ var adminBucketInfoCmd = cli.Command{
Before: setGlobalsFromContext,
Flags: append(adminBucketInfoFlags, globalFlags...),
HideHelpCommand: true,
Hidden: true,
}
// mainAdminBucketInfo is the handler for "mc admin bucket info" command.
-1
View File
@@ -40,7 +40,6 @@ var adminBucketQuotaCmd = cli.Command{
Before: setGlobalsFromContext,
Flags: append(adminQuotaFlags, globalFlags...),
HideHelpCommand: true,
Hidden: true,
}
// mainAdminBucketQuota is the handler for "mc admin bucket quota" command.
-1
View File
@@ -28,7 +28,6 @@ var adminBucketRemoteAddCmd = cli.Command{
OnUsageError: onUsageError,
Before: setGlobalsFromContext,
Flags: globalFlags,
Hidden: true,
HideHelp: true,
}
-1
View File
@@ -29,7 +29,6 @@ var adminBucketRemoteEditCmd = cli.Command{
OnUsageError: onUsageError,
Flags: globalFlags,
HideHelp: true,
Hidden: true,
}
// mainAdminBucketRemoteEdit is the handle for "mc admin bucket remote edit" command.
-1
View File
@@ -30,7 +30,6 @@ var adminBucketRemoteRmCmd = cli.Command{
Before: setGlobalsFromContext,
Flags: globalFlags,
HideHelp: true,
Hidden: true,
}
// mainAdminBucketRemoteRemove is the handle for "mc admin bucket remote rm" command.
+1
View File
@@ -33,6 +33,7 @@ var adminBucketCmd = cli.Command{
Flags: globalFlags,
Subcommands: adminBucketSubcommands,
HideHelpCommand: true,
Hidden: true,
}
// mainAdminBucket is the handle for "mc admin bucket" command.