Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Dec 2, 2024
1 parent 0ea5d71 commit 84212e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ func listFilters() {

for _, filter := range supportedFilters {
if filter == current {
fmtc.Printf(" {s}•{!} %s {s-}(default){!}\n", filter)
fmtc.Printfn(" {s}•{!} %s {s-}(default){!}", filter)
} else {
fmtc.Printf(" {s}•{!} %s\n", filter)
fmtc.Printfn(" {s}•{!} %s", filter)
}
}

Expand All @@ -182,8 +182,8 @@ func process(args options.Arguments) {
printErrorAndExit(err.Error())
}

fmtc.Printf(
"{g}Image successfully resized and saved as {g*}%s{!} {s-}(%s){!}\n",
fmtc.Printfn(
"{g}Image successfully resized and saved as {g*}%s{!} {s-}(%s){!}",
outImage, fmtutil.PrettySize(fsutil.GetSize(outImage)),
)
}
Expand Down

0 comments on commit 84212e3

Please sign in to comment.