Blame SOURCES/iputils-arping-doc.patch

994c6b
The -I option is actually optional when a suitable device is found.
994c6b
994c6b
--- iputils-s20160308/arping.c	2016-03-08 13:58:56.000000000 +0100
994c6b
+++ iputils-s20160308-new/arping.c	2016-09-05 12:59:22.746617891 +0200
994c6b
@@ -1086,7 +1086,7 @@ main(int argc, char **argv)
994c6b
 			fprintf(stderr, "arping: Device %s not available.\n", device.name);
994c6b
 			exit(2);
994c6b
 		}
994c6b
-		fprintf(stderr, "arping: device (option -I) is required.\n");
994c6b
+		fprintf(stderr, "arping: Suitable device could not be determined. Please, use option -I.\n");
994c6b
 		usage();
994c6b
 	}
994c6b
 
994c6b
--- iputils-s20160308/doc/arping.sgml	2016-03-08 13:58:56.000000000 +0100
994c6b
+++ iputils-s20160308-new/doc/arping.sgml	2016-09-05 12:58:03.425799308 +0200
994c6b
@@ -19,7 +19,7 @@
994c6b
 <arg choice="opt">-c <replaceable/count/</arg>
994c6b
 <arg choice="opt">-w <replaceable/deadline/</arg>
994c6b
 <arg choice="opt">-s <replaceable/source/</arg>
994c6b
-<arg choice="req">-I <replaceable/interface/</arg>
994c6b
+<arg choice="opt">-I <replaceable/interface/</arg>
994c6b
 <arg choice="req"><replaceable/destination/</arg>
994c6b
 </cmdsynopsis>
994c6b
 </refsynopsisdiv>