get rid of fmt.Print* usages

This commit is contained in:
Michael Eischer
2025-09-14 15:29:39 +02:00
parent 3410808dcf
commit ca5b0c0249
7 changed files with 20 additions and 29 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
package main
import (
"fmt"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/feature"
"github.com/restic/restic/internal/ui/table"
@@ -39,7 +37,7 @@ Exit status is 1 if there was any error.
return errors.Fatal("the feature command expects no arguments")
}
fmt.Printf("All Feature Flags:\n")
globalOptions.term.Print("All Feature Flags:\n")
flags := feature.Flag.List()
tab := table.New()