Whamcloud - gitweb
LU-10654 lnet: lnetctl doesn't error out on mistyped options 65/31265/3
authorSonia Sharma <sonia.sharma@intel.com>
Sun, 11 Feb 2018 18:02:18 +0000 (10:02 -0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 4 Sep 2018 03:48:56 +0000 (03:48 +0000)
commit3f2b6d2a7c4ab0bfcca0bcbb914ed3fdff1b1e32
tree8baea5ea0c7e8ac97cdfcf2c0df04aab7109dfae
parentb9523f474346c5f4bc3edaf4562b16a7c8928141
LU-10654 lnet: lnetctl doesn't error out on mistyped options

Running lnetctl command to add/delete peer/net/route should
error out with mistyped options.

This patch add the changes in lnetctl.c to make lnetctl
error out withmistyped options.

Change-Id: Ib8ae54bea919d6ff235b4ca3a23807a809f8962c
Test-Parameters: trivial
Signed-off-by: Sonia Sharma <sonia.sharma@intel.com>
Reviewed-on: https://review.whamcloud.com/31265
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetctl.c