Skip to content

Commit ffea107

Browse files
committed
minor change to language, some spacing
1 parent c0112d5 commit ffea107

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/commands/todos.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
var csvOutput bool
2020

2121
func init() {
22-
todosCmd.Flags().BoolVar(&csvOutput, "csv-output", false, "specify whether or not output should be CSV")
22+
todosCmd.Flags().BoolVar(&csvOutput, "csv-output", false, "specify whether or not output should be in CSV format")
2323

2424
rootCmd.AddCommand(todosCmd)
2525
}
@@ -75,6 +75,7 @@ var todosCmd = &cobra.Command{
7575
"text", "file_path", "start_line", "start_position", "end_line", "end_position", "author", "author_email", "author_sha", "author_time",
7676
})
7777
handleError(err, s)
78+
7879
for _, todo := range foundToDos {
7980
err := w.Write([]string{
8081
todo.String,
@@ -90,6 +91,7 @@ var todosCmd = &cobra.Command{
9091
})
9192
handleError(err, s)
9293
}
94+
9395
// Write any buffered data to the underlying writer (standard output).
9496
w.Flush()
9597

0 commit comments

Comments
 (0)