Remove the SilenceUsage flag again

It will be obsolete once #3140 has been merged
This commit is contained in:
André Duffeck committed 2026-07-31 15:55:36 +02:00
1 parent e26a009fc1
commit a82b6223aa
1 file changed
-3
-3
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))
},