]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
make iw print out that it supports 'info'
authorTomas Winkler <tomasw@gmail.com>
Mon, 30 Jun 2008 13:38:20 +0000 (15:38 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Mon, 30 Jun 2008 13:38:20 +0000 (15:38 +0200)
From Tomas: "Here is little patch to help iw be more useful."

iw.c

diff --git a/iw.c b/iw.c
index 3368d58f7b6f1becb777150969eb29596c0458e4..2661d7c19ad24774df23c507c075d20ddbfcf8a7 100644 (file)
--- a/iw.c
+++ b/iw.c
@@ -95,7 +95,7 @@ static void usage(char *argv0)
        fprintf(stderr, "Usage: %1$s dev <phydev> <OBJECT> <COMMAND> [OPTIONS]"
                        "\n     %1$s dev <phydev> info\n"
                        "\n"
-                       "where OBJECT := { interface | station | mpath }\n"
+                       "where OBJECT := { interface | station | mpath | info }\n"
                        "and COMMAND := { add | del | set | get | dump }\n",
                        argv0);
 }