Merge branch 'fc/send-email-chainreplyto-warning'
[gitweb.git] / builtin / remote.c
index 937484d7c77c448995481f246c1afe2dedd4c561..5e54d367b82cd91dbba70e2570dc620a3a13cd21 100644 (file)
@@ -178,7 +178,7 @@ static int add(int argc, const char **argv)
        argc = parse_options(argc, argv, NULL, options, builtin_remote_add_usage,
                             0);
 
-       if (argc < 2)
+       if (argc != 2)
                usage_with_options(builtin_remote_add_usage, options);
 
        if (mirror && master)