From: florian Date: Sat, 17 Oct 2015 13:07:02 +0000 (+0000) Subject: move -V option before -v and remove one spurious newline, now in sync X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=eacb91ec76410496bfe5c83461af8171280de5e8;p=openbsd move -V option before -v and remove one spurious newline, now in sync with ping. No object change. --- diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index f000892c3dc..0763b033e7e 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping6.c,v 1.125 2015/10/16 22:47:12 florian Exp $ */ +/* $OpenBSD: ping6.c,v 1.126 2015/10/17 13:07:02 florian Exp $ */ /* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */ /* @@ -355,12 +355,8 @@ main(int argc, char *argv[]) errx(1, "datalen value is %s: %s", errstr, optarg); break; - case 'v': - options |= F_VERBOSE; - break; case 'V': - rtableid = strtonum(optarg, 0, RT_TABLEID_MAX, - &errstr); + rtableid = strtonum(optarg, 0, RT_TABLEID_MAX, &errstr); if (errstr) errx(1, "rtable value is %s: %s", errstr, optarg); @@ -368,6 +364,9 @@ main(int argc, char *argv[]) sizeof(rtableid)) == -1) err(1, "setsockopt SO_RTABLE"); break; + case 'v': + options |= F_VERBOSE; + break; default: usage(); /*NOTREACHED*/