diff options
author | 2008-03-02 00:39:56 +0000 | |
---|---|---|
committer | 2008-03-02 00:39:56 +0000 | |
commit | 6ab989af82d544447778cf58c996d8c41f352039 (patch) | |
tree | 9fe01912dffcd62359cdc124707c17aede9b8dc7 /src/lib/util/options.c | |
parent | 7df031fb4f301ee55a3ca1ad4459a5588bcfd0fa (diff) |
Reverted change to options.c - not ready for release due to potential breakage of frontends.
Diffstat (limited to 'src/lib/util/options.c')
-rw-r--r-- | src/lib/util/options.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/util/options.c b/src/lib/util/options.c index c5b6e9cf1e7..bb4f9132c89 100644 --- a/src/lib/util/options.c +++ b/src/lib/util/options.c @@ -647,14 +647,7 @@ void options_output_help(core_options *opts, void (*output)(const char *)) /* otherwise, output entries for all non-deprecated items */ else if ((data->flags & (OPTION_DEPRECATED | OPTION_INTERNAL)) == 0 && data->description != NULL) - { - if (data->flags & OPTION_BOOLEAN) - output_printf(output, "-[no]%-16s%s\n", astring_c(data->links[0].name), data->description); - else if (data->flags & OPTION_COMMAND) - output_printf(output, "-%-20s%s\n", astring_c(data->links[0].name), data->description); - else - output_printf(output, "-%s %s\n%21s%s\n", astring_c(data->links[0].name), astring_c(data->links[0].name), "",data->description); - } + output_printf(output, "-%-20s%s\n", astring_c(data->links[0].name), data->description); } } |