mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 05:36:22 +00:00
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.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3678 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -38,6 +38,9 @@ Query Operations
|
||||
-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 @@ sub getArgs {
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user