Add --all to accepted format list

This commit is contained in:
Seednode 2023-11-06 15:34:47 -06:00
parent b5566eee27
commit 00b8af42fe
1 changed files with 2 additions and 2 deletions

View File

@ -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{