ls-remote: use parse-options api
authorThomas Gummerer <t.gummerer@gmail.com>
Mon, 18 Jan 2016 23:20:49 +0000 (00:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jan 2016 18:07:56 +0000 (10:07 -0800)
Currently ls-remote uses a hand rolled parser for its command line
arguments. Use the parse-options api instead of the hand rolled parser
to simplify the code and make it easier to add new arguments. In
addition this improves the help message.

Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found