mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-08-02 19:09:26 -04:00
Remove the SilenceUsage flag again
It will be obsolete once #3140 has been merged
This commit is contained in:
@@ -28,9 +28,6 @@ func Index(cfg *config.Config) *cobra.Command {
|
||||
Use: "index",
|
||||
Short: "index the files for one one more users",
|
||||
Aliases: []string{"i"},
|
||||
// Don't print the usage on runtime errors (e.g. a cancelled request);
|
||||
// usage is only helpful for flag/argument errors.
|
||||
SilenceUsage: true,
|
||||
PreRunE: func(cmd *cobra.Command, args []string) error {
|
||||
return configlog.ReturnFatal(parser.ParseConfig(cfg))
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user