[#1146] adm: Make --group-name flag required

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
bugfix/make_group__name_required
Alexander Chuprov 2024-06-03 13:54:59 +03:00
parent f2d2908745
commit 643480d6fa
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ func initFrostfsIDCreateGroupCmd() {
frostfsidCreateGroupCmd.Flags().String(namespaceFlag, "", "Namespace where create group")
frostfsidCreateGroupCmd.Flags().String(groupNameFlag, "", "Group name, must be unique in namespace")
frostfsidCreateGroupCmd.Flags().String(commonflags.AlphabetWalletsFlag, "", commonflags.AlphabetWalletsFlagDesc)
_ = frostfsidCreateGroupCmd.MarkFlagRequired(groupNameFlag)
}
func initFrostfsIDDeleteGroupCmd() {