[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC] New option -S, --scope dir

From: Shigio YAMAGUCHI
Subject: [RFC] New option -S, --scope dir
Date: Wed, 19 Feb 2014 12:10:08 +0900

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" 

(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 <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]