Support --dev flag in license info|update (#4281)
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ var licenseInfoCmd = cli.Command{
|
||||
OnUsageError: onUsageError,
|
||||
Action: mainLicenseInfo,
|
||||
Before: setGlobalsFromContext,
|
||||
Flags: append(globalFlags, subnetCommonFlags...),
|
||||
Flags: append(supportGlobalFlags, subnetCommonFlags...),
|
||||
CustomHelpTemplate: `NAME:
|
||||
{{.HelpName}} - {{.Usage}}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ var licenseUpdateCmd = cli.Command{
|
||||
OnUsageError: onUsageError,
|
||||
Action: mainLicenseUpdate,
|
||||
Before: setGlobalsFromContext,
|
||||
Flags: append(globalFlags, subnetCommonFlags...),
|
||||
Flags: append(supportGlobalFlags, subnetCommonFlags...),
|
||||
CustomHelpTemplate: `NAME:
|
||||
{{.HelpName}} - {{.Usage}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user