Hello all,
I would like to add an option like follows to global(1).

-S, --scope dir
        Print only tags which exist under <dir> directory.
        It is similar to the -l option, but you need not change directory.

"cd xxx && global -l" is almost equal to "global -S xxx"

e.g.
(in /tmp/global)
$ gtags
$ global -S htags -x main
main             1429 htags/htags.c    main(int argc, char **argv)
$ cd htags
$ global -lx main
main             1429 htags.c          main(int argc, char **argv)
$ _

Any comment?

-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to