Re: [PATCH] Use OPT_SET_INT_F() for cmdline option specification

2018-05-20 Thread Duy Nguyen
On Sun, May 20, 2018 at 11:15 AM, Martin Ågren wrote: > On 20 May 2018 at 10:12, Nguyễn Thái Ngọc Duy wrote: >> The only thing these commands need is extra parseopt flags which can be >> passed in by OPT_SET_INT_F() and it is a bit more compact than

Re: [PATCH] Use OPT_SET_INT_F() for cmdline option specification

2018-05-20 Thread Martin Ågren
On 20 May 2018 at 10:12, Nguyễn Thái Ngọc Duy wrote: > The only thing these commands need is extra parseopt flags which can be > passed in by OPT_SET_INT_F() and it is a bit more compact than full > struct initialization. > diff --git a/archive.c b/archive.c > index