forked from universal-ctags/ctags
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main: fix a bug of handling --tag-relative with no optional argument
Close universal-ctags#2096. Quoted from universal-ctags#2096 reported by @bogdan: Original ctags accepts --tag-relative without an option which universal ctags does not. It leads to incompatibility. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
- Loading branch information
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright: 2019 Masatake YAMATO | ||
# License: GPL-2 | ||
|
||
CTAGS=$1 | ||
O="--quiet --options=NONE " | ||
|
||
${CTAGS} $O --tag-relative --_force-quit=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters