diff options
author | tim szeto <Tim.Szeto@Sun.COM> | 2009-05-08 16:22:42 -0600 |
---|---|---|
committer | tim szeto <Tim.Szeto@Sun.COM> | 2009-05-08 16:22:42 -0600 |
commit | 8fe960854f0d52e2e8a80ba68e8621a5ac6a866d (patch) | |
tree | 84808627bb61eb33774fed65dcec310651e857fd /usr/src/common/cmdparse/cmdparse.c | |
parent | a988fde5d885d3c96b92999f2de6395620472649 (diff) | |
download | illumos-joyent-8fe960854f0d52e2e8a80ba68e8621a5ac6a866d.tar.gz |
6795089 COMSTAR sbd lun provider should support PGR
6808269 Add interfaces for support of create/delete/modify logical unit
6824910 Allow persistence of configuration data to be optional
6794362 Add support for the SCSI direct-access block device Caching mode page
6749644 stmf/sbd getinfo(9E) entry point needs to be fixed
PSARC 2009/251 libstmf/stmfadm enhancements for COMSTAR
Diffstat (limited to 'usr/src/common/cmdparse/cmdparse.c')
-rw-r--r-- | usr/src/common/cmdparse/cmdparse.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/common/cmdparse/cmdparse.c b/usr/src/common/cmdparse/cmdparse.c index b67d6b352b..a773311033 100644 --- a/usr/src/common/cmdparse/cmdparse.c +++ b/usr/src/common/cmdparse/cmdparse.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -250,6 +250,9 @@ subUsage(uint_t usageType, subCommandProps_t *subcommand) } } (void) fprintf(stdout, "\n"); + if (subcommand->helpText) { + (void) printf("%s\n", subcommand->helpText); + } } /* |