OSDN Git Service

Update to v30-pre9
[android-x86/external-wireless-tools.git] / wireless_tools / ifrename.8
index da10181..48b6be9 100644 (file)
@@ -11,7 +11,7 @@ ifrename \- rename network interfaces based on various static criteria
 .\" SYNOPSIS part
 .\"
 .SH SYNOPSIS
-.B "ifrename [-c configfile] [-p] [-d] [-u] [-v] [-V] [-D]"
+.B "ifrename [-c configfile] [-p] [-d] [-u] [-v] [-V] [-D] [-C]"
 .br
 .B "ifrename [-c configfile] [-i interface] [-n newname]"
 .\"
@@ -164,6 +164,14 @@ with the
 .I dry-run
 option, this is a good way to debug complex configurations or trivial
 problems.
+.TP
+.B -C
+Count matching interfaces. Display the number of interface matched,
+and return it as the exit status of ifrename.
+.br
+The number of interfaces matched is the number of interface on the
+system for which a mapping was found in the config file (which is
+different from the number of interface renamed).
 .\"
 .\" AUTHOR part
 .\"