Skip to content

Commit f201c9f

Browse files
committed
Cleanup gotags -help text and README
1 parent ca92d7c commit f201c9f

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ gotags is a [ctags][]-compatible tag generator for [Go][].
1616
gotags [options] file(s)
1717

1818
-L="": source file names are read from the specified file.
19-
-R=false: recurse into directories in the file list
20-
-silent=false: do not produce any output on error
21-
-sort=true: sort tags
22-
-tree=false: print syntax tree (debugging)
23-
-v=false: print version
19+
-R=false: recurse into directories in the file list.
20+
-silent=false: do not produce any output on error.
21+
-sort=true: sort tags.
22+
-v=false: print version.
2423

2524
## Vim [Tagbar][] configuration
2625

@@ -54,7 +53,7 @@ Put the following configuration in your vimrc:
5453
\ 'ctagsargs' : '-sort -silent'
5554
\ }
5655

57-
### Screenshot
56+
### Vim+Tagbar Screenshot
5857
![vim Tagbar gotags](http://stemmertech.com/images/gotags-1.0.0-screenshot.png)
5958

6059
[ctags]: http://ctags.sourceforge.net

main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ var (
2929

3030
// Initialize flags.
3131
func init() {
32-
flag.BoolVar(&printVersion, "v", false, "print version")
32+
flag.BoolVar(&printVersion, "v", false, "print version.")
3333
flag.StringVar(&inputFile, "L", "", "source file names are read from the specified file.")
34-
flag.BoolVar(&recurse, "R", false, "recurse into directories in the file list")
35-
flag.BoolVar(&sortOutput, "sort", true, "sort tags")
36-
flag.BoolVar(&silent, "silent", false, "do not produce any output on error")
34+
flag.BoolVar(&recurse, "R", false, "recurse into directories in the file list.")
35+
flag.BoolVar(&sortOutput, "sort", true, "sort tags.")
36+
flag.BoolVar(&silent, "silent", false, "do not produce any output on error.")
3737

3838
flag.Usage = func() {
3939
fmt.Fprintf(os.Stderr, "gotags version %s\n\n", Version)

0 commit comments

Comments
 (0)