summaryrefslogtreecommitdiff
path: root/test-cmdline.c
diff options
context:
space:
mode:
authorAurelien Guillaume <aurelien@iwi.me>2012-12-02 21:21:01 +0100
committerBen Hutchings <bhutchings@solarflare.com>2012-12-03 16:54:48 +0000
commit749f3878693d21cd43301327ddd22811453e38da (patch)
tree98543995513d279f03c583592bbefccaa1d25ac5 /test-cmdline.c
parent08f7d492eb1de6f47313c6a9bcb07f32f1695513 (diff)
downloadethtool-749f3878693d21cd43301327ddd22811453e38da.tar.gz
Implemented basic optics diagnostics for SFF-8472
The current output of -m has been modified so that everything lines up correctly. The --module-info option alias has been added. Signed-off-by: Aurelien Guillaume <aurelien@iwi.me> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'test-cmdline.c')
-rw-r--r--test-cmdline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-cmdline.c b/test-cmdline.c
index 85b4ce0..f1d4555 100644
--- a/test-cmdline.c
+++ b/test-cmdline.c
@@ -213,6 +213,8 @@ static struct test_case {
{ 0, "-m devname" },
{ 1, "--dump-module-eeprom" },
{ 0, "--dump-module-eeprom devname" },
+ { 1, "--module-info" },
+ { 0, "--module-info devname" },
{ 0, "-m devname raw on" },
{ 0, "-m devname raw off" },
{ 0, "-m devname hex on" },