commit | afdf935261b23cdf08214e708133318548ddf2c4 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Jul 31 16:14:34 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Jul 31 16:14:34 2007 +0200 |
tree | 837845c6a0bdccb76a7f35dc81055da378ee21d2 | |
parent | a432da1d5f1c6a413671995895becd972c4c3633 [diff] [blame] |
Add parent link to options Then we can nest display for --cmdhelp=all, to tie options together. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/parse.h b/parse.h index 752da34..c3b66d7 100644 --- a/parse.h +++ b/parse.h
@@ -45,6 +45,7 @@ const char *help; /* help text for option */ const char *def; /* default setting */ const struct value_pair posval[PARSE_MAX_VP];/* possible values */ + const char *parent; /* parent option */ }; typedef int (str_cb_fn)(void *, char *);