Jeff King
26e28fe7bb
test-advise: check argument count with argc instead of argv
...
We complain if "test-tool advise" is not given an argument, but we
quietly ignore any additional arguments it receives. Let's instead check
that we got the expected number. As a bonus, this silences
-Wunused-parameter, which notes that we don't ever look at argc.
While we're here, we can also fix the indentation in the conditional.
Signed-off-by: Jeff King <peff@peff.net >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2020-09-30 12:53:48 -07:00
..
2020-08-13 11:02:15 -07:00
2020-09-30 12:53:48 -07:00
2020-09-29 14:01:20 -07:00
2018-04-25 13:29:00 +09:00
2020-08-14 10:52:04 -07:00
2019-09-18 14:15:01 -07:00
2018-08-30 10:30:21 -07:00
2019-08-09 10:13:14 -07:00
2019-12-06 16:29:15 +01:00
2018-08-29 11:32:49 -07:00
2020-01-13 14:58:43 -08:00
2020-02-24 09:33:24 -08:00
2019-01-24 11:55:06 -08:00
2019-06-20 10:06:19 -07:00
2016-07-06 10:02:57 -07:00
2018-03-27 08:45:47 -07:00
2019-02-19 10:22:21 -08:00
2018-11-14 16:54:52 +09:00
2018-11-14 16:54:52 +09:00
2019-10-07 10:20:12 +09:00
2018-03-27 08:45:47 -07:00
2018-07-16 13:55:39 -07:00
2019-10-07 10:20:11 +09:00
2018-03-27 08:45:47 -07:00
2018-03-27 08:45:47 -07:00
2020-06-19 14:04:08 -07:00
2019-07-01 10:26:28 -07:00
2020-02-20 13:20:40 -08:00
2020-04-27 11:21:12 -07:00
2020-03-10 11:41:40 -07:00
2020-05-24 16:26:00 -07:00
2019-04-12 13:34:17 +09:00
2020-08-27 12:47:47 -07:00
2020-04-27 11:21:28 -07:00
2020-07-06 22:09:16 -07:00
2019-09-06 11:03:39 -07:00
2020-09-09 12:51:48 -07:00
2020-08-17 16:45:20 -07:00
2020-06-22 10:31:15 -07:00
2020-05-18 13:03:35 -07:00
2020-02-24 09:33:27 -08:00
2020-07-30 19:18:06 -07:00
2018-05-30 14:04:05 +09:00
2019-04-19 14:03:24 +09:00
2018-11-14 16:54:52 +09:00
2018-11-14 16:54:53 +09:00
2018-12-10 15:41:09 +09:00
2018-03-27 08:45:47 -07:00
2018-03-27 08:45:47 -07:00
2018-05-08 15:59:17 +09:00
2020-09-30 12:53:47 -07:00
2020-08-27 12:47:47 -07:00
2020-08-27 12:47:47 -07:00
2020-07-28 15:02:17 -07:00
2018-03-27 08:45:47 -07:00
2018-03-27 08:45:47 -07:00
2020-02-24 09:30:31 -08:00
2018-05-30 14:04:05 +09:00
2019-01-29 09:26:46 -08:00