On 01/05/14 07:34, Evan Gates wrote:
> On Wed, Apr 30, 2014 at 11:20 PM, Jean-Philippe Gagné Guay
> <jeanphilippe...@gmail.com> wrote:
> > ii could be called without any argument, using the defaults described in the
> > manpage.
> >
> > -       if (argc <= 1 || (argc == 2 && argv[1][0] == '-' && argv[1][1] == 
> > 'h')) usage();
> > +       if (argc < 1 || (argc == 2 && argv[1][0] == '-' && argv[1][1] == 
> > 'h')) usage();
> 
> When called with no arguments argc would be 1. By convention this
> initial argument is the name of the file that was executed but can be
> anything, read exec(3,3p) for more information.
> 
> -emg
> 

I am not sure I understand why this would be wrong. Shouldn't calling ii (via
ii or not) without arguments use the default values descibed in the man page?

Reply via email to