Do not use non-constant formatting strings in calls to printf-like functions in src/cmd. These fail the new printf vet check (#60529).

cc @adonovan

Comment From: gabyhelp

Related Issues and Documentation

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Comment From: gopherbot

Change https://go.dev/cl/610538 mentions this issue: cmd: fix formatting strings

Comment From: timothy-king

The required work is a subset of the work for #68796. Closing this as a duplicate.