Whamcloud - gitweb
LU-2430 utils: fix "lfs mv" command parsing 61/13161/2
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 20 Dec 2014 00:03:34 +0000 (17:03 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 3 Feb 2015 18:18:32 +0000 (18:18 +0000)
commit5c61e053874caafe75f84c149de933050e9ec660
tree5e658fdeab34fdd7098b299c72bf3ed5f99e7575
parent89e685e154daba096c8388e39e279c6e6b342940
LU-2430 utils: fix "lfs mv" command parsing

Fix the lfs_mv() long option parsing so that it uses "--mdt-index"
instead of incorrectly requiring "----mdt-index" for the short "-M"
option.

Fix up some error messages in lfs_mv() as well, and change a test
case to use the long option form.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I20ffde97fb5d31364e91d6b21d407eb3323ebbe5
Reviewed-on: http://review.whamcloud.com/13161
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh
lustre/utils/lfs.c