1 parent 89bdf05 commit 653c1dbCopy full SHA for 653c1db
1 file changed
exc/exc.go
@@ -55,13 +55,8 @@ func (cmd *Command) ResetLabels() *Command {
55
return cmd
56
}
57
58
-// Format implements fmt.Formatter.
59
-// %v / %q: "'name arg1 arg2'" (single-quoted command line)
60
-// %+v: "exc.Command<[id] {label1,label2} name args>'name args'"
61
-//
62
-// id and label sections are omitted when empty.
63
64
-// %s and all other verbs: plain "name arg1 arg2"
+// Format implements fmt.Formatter. For %v and %+v the exc.Command<[+ID][+LABELS] command>. %q
+// encloses with brackets.)
65
func (cmd *Command) Format(f fmt.State, verb rune) {
66
var b strut.Buffer
67
switch verb {
0 commit comments