From: <bva...@us...> - 2011-07-17 13:54:34
|
Revision: 3678 http://scst.svn.sourceforge.net/scst/?rev=3678&view=rev Author: bvassche Date: 2011-07-17 13:54:28 +0000 (Sun, 17 Jul 2011) Log Message: ----------- scstadmin: Add information about -list_grp_attr in the scstadmin help text. Also, complain if no group name has been specified for -list_grp_attr. Modified Paths: -------------- trunk/scstadmin/scstadmin.sysfs/scstadmin Modified: trunk/scstadmin/scstadmin.sysfs/scstadmin =================================================================== --- trunk/scstadmin/scstadmin.sysfs/scstadmin 2011-07-17 13:30:14 UTC (rev 3677) +++ trunk/scstadmin/scstadmin.sysfs/scstadmin 2011-07-17 13:54:28 UTC (rev 3678) @@ -38,6 +38,9 @@ -list_drv_attr <driver> : List all attributes for a given driver. -list_tgt_attr <target> : List all attributes for a given driver/target. -driver <driver> + -list_grp_attr <group> : List all attributes for a given group. + -driver <driver> + -target <target> -list_lun_attr <lun> : List all attributes for a driver/target/lun. -driver <driver> -target <target> @@ -418,8 +421,9 @@ usage(); } - if (defined($listGroupAttr) && (($driver eq '') || ($target eq ''))) { - print "Please specify -driver and -target with -list_grp_attr.\n"; + if (defined($listGroupAttr) && (($driver eq '') || ($target eq '') || + ($listGroupAttr eq ''))) { + print "Please specify -driver, -target and group with -list_grp_attr.\n"; usage(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |