Skip to content

Commit 653c1db

Browse files
committed
fix: comment lint
1 parent 89bdf05 commit 653c1db

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

exc/exc.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,8 @@ func (cmd *Command) ResetLabels() *Command {
5555
return cmd
5656
}
5757

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"
58+
// Format implements fmt.Formatter. For %v and %+v the exc.Command<[+ID][+LABELS] command>. %q
59+
// encloses with brackets.)
6560
func (cmd *Command) Format(f fmt.State, verb rune) {
6661
var b strut.Buffer
6762
switch verb {

0 commit comments

Comments
 (0)