tag : one call
This commit is contained in:
parent
bab61c31a3
commit
744774878f
1 changed files with 2 additions and 6 deletions
|
|
@ -51,7 +51,8 @@ func parseArgs(args []string) options {
|
||||||
return opts
|
return opts
|
||||||
}
|
}
|
||||||
|
|
||||||
func tag(opts options) {
|
func Tag(args []string) {
|
||||||
|
opts := parseArgs(args)
|
||||||
queries := parseQuery(opts.Query.Val)
|
queries := parseQuery(opts.Query.Val)
|
||||||
entries := entriesGlobOrStdin()
|
entries := entriesGlobOrStdin()
|
||||||
|
|
||||||
|
|
@ -71,8 +72,3 @@ func tag(opts options) {
|
||||||
|
|
||||||
printFiles(os.Stdout, entries, tagmap, files, adjacencies, queries, opts.Verbose.Val)
|
printFiles(os.Stdout, entries, tagmap, files, adjacencies, queries, opts.Verbose.Val)
|
||||||
}
|
}
|
||||||
|
|
||||||
func Tag(args []string) {
|
|
||||||
opts := parseArgs(args)
|
|
||||||
tag(opts)
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue