While implementing the -U (--use-default) option,
I recognized my mistake. The option was a halfway
and hard to use. First of all, what cannot be used
without an option cannot be called 'default options'.
So, I would like to change the solution.
I withdraw the followings:
o -U (--use-default) option.
It is a halfway and hard to use.
o GLOBAL_OPTIONS environment variables.
It is dangerous.
The result is as follows.
command default options variable name
------------------------------------------------
global(1) not available -
gtags(1) available GTAGS_OPTIONS
htags(1) available HTAGS_OPTIONS
------------------------------------------------
To use default options for global(1), you should
use something like alias or function of the shell
instead. For example,
$ alias global='global --color=always'
Global(1) itself does not offer any means for it.
About GTAGS_OPTIONS and HTAGS_OPTIONS, there is
no problem, I think.
Any comment?