Remove the SilenceUsage flag again

It will be obsolete once #3140 has been merged
This commit is contained in:
André Duffeck
2026-07-31 15:53:57 +02:00
parent e26a009fc1
commit a82b6223aa

View File

@@ -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))
},