Add --all to accepted format list
This commit is contained in:
parent
b5566eee27
commit
00b8af42fe
|
@ -12,7 +12,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ReleaseVersion string = "3.2.1"
|
ReleaseVersion string = "3.2.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -119,7 +119,7 @@ func init() {
|
||||||
|
|
||||||
rootCmd.CompletionOptions.HiddenDefaultCmd = true
|
rootCmd.CompletionOptions.HiddenDefaultCmd = true
|
||||||
|
|
||||||
rootCmd.MarkFlagsOneRequired("audio", "code", "flash", "images", "text", "video")
|
rootCmd.MarkFlagsOneRequired("all", "audio", "code", "flash", "images", "text", "video")
|
||||||
|
|
||||||
rootCmd.SilenceErrors = true
|
rootCmd.SilenceErrors = true
|
||||||
rootCmd.SetHelpCommand(&cobra.Command{
|
rootCmd.SetHelpCommand(&cobra.Command{
|
||||||
|
|
Loading…
Reference in New Issue