diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-23 00:39:23 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-23 00:39:23 (EST) |
commit | e304039dd4100d53b3642e175984fddc16cdd332 (patch) | |
tree | e6c9502f0ddf73373cc043297b2cca628a219c3c /libopkg/libopkg.c | |
parent | e7f6a9884fa0a2c327e6ef087c176cf2d157667b (diff) |
Clean up the help output.
- Don't print long options with a single dash.
- Don't print commands with an underscore, ensure that it works with a
dash. e.g. list-installed.
- No wrapping on an 80 char wide terminal.
- Incrementing the verbositiy was broken, so remove it.
NOTE: Old commands/options still all work and some commands/options remain
undocumented.
git-svn-id: http://opkg.googlecode.com/svn/trunk@349 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/libopkg.c')
-rw-r--r-- | libopkg/libopkg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopkg/libopkg.c b/libopkg/libopkg.c index 37770eb..c91b703 100644 --- a/libopkg/libopkg.c +++ b/libopkg/libopkg.c @@ -65,6 +65,7 @@ opkg_op (int argc, char *argv[]) !strcmp(cmd_name,"compare_versions") || !strcmp(cmd_name,"compare-versions") || !strcmp(cmd_name,"list_installed") || + !strcmp(cmd_name,"list-installed") || !strcmp(cmd_name,"status") ) args.noreadfeedsfile = 1; |