Skip to content

Commit dd6fc3d

Browse files
committed
Update help text for -L flag
1 parent 37edef4 commit dd6fc3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ gotags is a [ctags][]-compatible tag generator for [Go][].
1515

1616
gotags [options] file(s)
1717

18-
-L="": source file names are read from the specified file.
18+
-L="": source file names are read from the specified file. If file is "-", input is read from standard in.
1919
-R=false: recurse into directories in the file list.
2020
-f="": write output to specified file. If file is "-", output is written to standard out.
2121
-silent=false: do not produce any output on error.

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var (
3232
// Initialize flags.
3333
func init() {
3434
flag.BoolVar(&printVersion, "v", false, "print version.")
35-
flag.StringVar(&inputFile, "L", "", "source file names are read from the specified file.")
35+
flag.StringVar(&inputFile, "L", "", `source file names are read from the specified file. If file is "-", input is read from standard in.`)
3636
flag.StringVar(&outputFile, "f", "", `write output to specified file. If file is "-", output is written to standard out.`)
3737
flag.BoolVar(&recurse, "R", false, "recurse into directories in the file list.")
3838
flag.BoolVar(&sortOutput, "sort", true, "sort tags.")

0 commit comments

Comments
 (0)