[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Global-commit] global gtags/gtags.c gtags/manual.in libutil/ar...
From: |
Hideki IWAMOTO |
Subject: |
Re: [Global-commit] global gtags/gtags.c gtags/manual.in libutil/ar... |
Date: |
Tue, 03 Mar 2020 23:11:03 +0900 |
Hi. Yamaguchi san.
"global" command does not accept the long option "--directory".
Maybe this is not your intended behavior.
------
$ global --help | grep -e --directory
-C, --directory dir
$ global -x main
main 1 ../a.c main(){}
$ global -C .. -x main
main 1 a.c main(){}
$ global --directory .. -x main
global: unrecognized option '--directory'
Usage: global [-adEFGilMnNqrstTvx][-S dir][-e] pattern
global -c[dFiIMoOPrsT] prefix
global -f[adlnqrstvx][-L file-list][-S dir] files
global -g[aEGilMnoOqtvVx][-L file-list][-S dir][-e] pattern [files]
global -I[ailMnqtvx][-S dir][-e] pattern
global -P[aEGilMnoOqtvVx][-S dir][-e] pattern
global -p[qrv]
global -u[qv]
------
On Sun, 1 Mar 2020 18:58:28 +0900
Shigio YAMAGUCHI <address@hidden> wrote:
> > (1) The case where there is no space between option -C and the argument
> > is not supported.
> > The following two command lines should be equivalent.
> > $ gtags -C dir
> > $ gtags -Cdir
> >
> > (2) Cannot concatenate "C" with option without arguments after single
> > hyphen.
> > The following two command lines should be equivalent.
> > $ gtags -v -C dir
> > $ gtags -vC dir
>
> I have updated the repository to solve these problems.
> These all work:
>
> gtags -v -C /tmp/global
> gtags -vC /tmp/global
> gtags -vC/tmp/global
> gtags --directory /tmp/global
> gtags --directory=/tmp/global
> gtags --director=/tmp/global
> gtags --directo=/tmp/global
> gtags --direct=/tmp/global
> gtags --direc=/tmp/global
> gtags --dire=/tmp/global
> gtags --dir=/tmp/global
> gtags --di=/tmp/global
>
> Regards,
> Shigio
>
> 2020年2月6日(木) 3:53 Hideki IWAMOTO <address@hidden>:
> >
> > Hi. Yamaguchi san.
> >
> > Analysis of the short option looks incomplete.
> >
> > (1) The case where there is no space between option -C and the argument
> > is not supported.
> > The following two command lines should be equivalent.
> > $ gtags -C dir
> > $ gtags -Cdir
> >
> > (2) Cannot concatenate "C" with option without arguments after single
> > hyphen.
> > The following two command lines should be equivalent.
> > $ gtags -v -C dir
> > $ gtags -vC dir
> >
> > On Tue, 4 Feb 2020 01:50:07 -0500 (EST)
> > address@hidden (Shigio YAMAGUCHI) wrote:
> >
> > > CVSROOT: /sources/global
> > > Module name: global
> > > Changes by: Shigio YAMAGUCHI <shigio> 20/02/04 01:50:07
> > >
> > > Modified files:
> > > gtags : gtags.c manual.in
> > > libutil : args.c
> > >
> > > Log message:
> > > Added new -C, --directory option.
> > >
> > > CVSWeb URLs:
> > > http://cvs.savannah.gnu.org/viewcvs/global/gtags/gtags.c?cvsroot=global&r1=1.286&r2=1.287
> > > http://cvs.savannah.gnu.org/viewcvs/global/gtags/manual.in?cvsroot=global&r1=1.127&r2=1.128
> > > http://cvs.savannah.gnu.org/viewcvs/global/libutil/args.c?cvsroot=global&r1=1.11&r2=1.12
> > >
> > > _______________________________________________
> > > Global-commit mailing list
> > > address@hidden
> > > https://lists.gnu.org/mailman/listinfo/global-commit
> >
> > --
> > Hideki IWAMOTO <address@hidden>
> >
>
>
> --
> Shigio YAMAGUCHI <address@hidden>
> PGP fingerprint:
> 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB
--
岩本 秀樹 <address@hidden>