[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add new command --file-list (-F) to global, and use it in ht
From: |
Hideki IWAMOTO |
Subject: |
Re: [PATCH] Add new command --file-list (-F) to global, and use it in htags |
Date: |
Wed, 18 Nov 2009 08:07:41 +0900 |
> How about adding --args-file option instead of the -F command?
OK. This is revised edition.
global/global.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++---------
global/manual.in | 5 +++
gtags.conf.in | 2 +
htags/anchor.c | 63 ++++++++++++++++++++++++++++++---------
htags/anchor.h | 3 +
htags/htags.c | 16 +---------
6 files changed, 133 insertions(+), 43 deletions(-)
On Tue, 17 Nov 2009 22:31:33 +0900, Shigio YAMAGUCHI wrote...
> Hello again,
> > -f, --file files
> > Print all tags in the files.
> > This option implies the -x option.
> > -F, --file-list file
> > Read from file a list of file names and print all tags
> > in each file in the list.
> > If file is -, read from standard input.
> > File names must be separated by newline.
> > This option implies the -x option.
>
> How about adding --args-file option instead of the -F command?
>
> Commands:
> -f, --file files
> Print all tags in the files.
> This option implies the -x option.
> If the --args-file options is specified, [files] on the command line
> is ignored.
>
> Options:
> --args-file file
> Read from file a list of arguments.
> If file is -, read from standard input.
> Arguments must be separated by newline.
> This option can be used only with the -f(--file-list) command now.
>
>
> I don't think that a usual user uses the -F command. So, it is not necessary
> to offer it as a command. The --args-file=file option can be used with other
> commands in the future.
>
> What do you think?
> --
> Shigio YAMAGUCHI <address@hidden>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
----
Hideki IWAMOTO address@hidden
20091118-global-args-file.patch
Description: Binary data