1
0
mirror of https://github.com/golang/go synced 2024-09-30 20:28:32 -06:00
go/cmd/oracle
Alan Donovan 3a4c0462d8 go.tools/oracle: change -mode argument into subcommand.
e.g. "oracle callgraph <package>"

Also: simplified error handling.
Eliminated oracle.errorf because it prepends "file:line:col: "
to the error message so the main function can't safely prepend "Error: ".
The position wasn't interesting though: it was just -pos, more or less.

R=crawshaw, dominik.honnef, r
CC=golang-dev
https://golang.org/cl/13864044
2013-09-25 14:34:39 -04:00
..
emacs-test.bash go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
main.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
oracle.el go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
oracle.vim go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00