mirror of
https://git.seedno.de/seednode/roulette.git
synced 2025-02-14 09:17:08 +00:00
Add --all to accepted format list
This commit is contained in:
parent
b5566eee27
commit
00b8af42fe
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue