Re: [PATCH 4/6] config: use OPT_FILENAME()

2018-12-27 Thread Eric Sunshine
On Thu, Dec 27, 2018 at 10:56 AM Nguyễn Thái Ngọc Duy wrote: > Do not handle prefix directly. It's simpler to use OPT_FILENAME() > instead. The othe reason for doing this is because this code (where s/othe/other/ > the deleted code is) will be factored out and called when "prefix" is > not avail

[PATCH 4/6] config: use OPT_FILENAME()

2018-12-27 Thread Nguyễn Thái Ngọc Duy
Do not handle prefix directly. It's simpler to use OPT_FILENAME() instead. The othe reason for doing this is because this code (where the deleted code is) will be factored out and called when "prefix" is not available. Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/config.c | 6 +- 1 file c