daemon: be strict at parsing parameters --[no-]informative-errors
commit82246b765bdfc191aa809cf3dd672de18ad6352a
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 20 Dec 2013 10:53:52 +0000 (20 17:53 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Dec 2013 22:05:07 +0000 (20 14:05 -0800)
tree26cce411bfbbc1c6fd35a73b41dfdd0a39b8c5fd
parent2f93541d88fadd1ff5307d81c2c8921ee3eea058
daemon: be strict at parsing parameters --[no-]informative-errors

Use strcmp() instead of starts_with()/!prefixcmp() to stop accepting
--informative-errors-just-a-little

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c