Skip to content

Commit f4279fe

Browse files
martindemellorchen152
authored andcommitted
Add the option to show kythe facts in the debug indexer
PiperOrigin-RevId: 457600595
1 parent 68baeaf commit f4279fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pytype/tools/xref/parse_args.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ def add_kythe_field(parser, field):
3434
parser.add_argument("--show-types", action="store_true",
3535
dest="show_types", default=None,
3636
help="Display inferred types.")
37+
parser.add_argument("--show-kythe", action="store_true",
38+
dest="show_kythe", default=None,
39+
help="Display kythe facts.")
3740
# TODO(b/124802213): There should be a cleaner way to do this.
3841
parser.add_argument(
3942
"--imports_info", type=str, action="store",

0 commit comments

Comments
 (0)