File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ We assume you may have enough storage space on your PC.
4848 $ [CTAGS_EXE=${where your ctags executable is}] ./codebase ctags <LANGUAGE> [<PROFILE>]
4949
5050 codebase refers *CTAGS_EXE * environment variable to run ctags.
51+ `--ctags ${where your ctags executable is} ` is an alternative way to
52+ specify the ctags executable you want to test.
5153
5254 You can run ctags with different option combination.
5355 We call such option combination *PROFILE *.
Original file line number Diff line number Diff line change @@ -354,13 +354,16 @@ cmd_list_profiles_run()
354354cmd_ctags_help_simple ()
355355{
356356 cat << EOF
357- $0 ctags [-v] [-o TAGOUTPUT|-O] [--valgrind|--perf|--gdb] [LANGUAGE|all] [PROFILE]
357+ $0 ctags [-v] [--ctags CTAGS_EXE] [- o TAGOUTPUT|-O] [--valgrind|--perf|--gdb] [LANGUAGE|all] [PROFILE]
358358EOF
359359}
360360
361361cmd_ctags_help ()
362362{
363363 cat << EOF
364+ --ctags
365+ Specify ctags executable.
366+
364367 -v|--verbose
365368 Makes the output of $0 verbose (not for ctags itself).
366369
@@ -399,6 +402,15 @@ cmd_ctags_run()
399402
400403 while [[ $# -gt 0 ]]; do
401404 case " $1 " in
405+ (--ctags)
406+ shift 1
407+ CTAGS_EXE=$1
408+ shift 1
409+ ;;
410+ (--ctags=* )
411+ CTAGS_EXE=${1/ --ctags=/ }
412+ shift 1
413+ ;;
402414 (--verbose|-v)
403415 verbose=1
404416 shift 1
You can’t perform that action at this time.
0 commit comments