diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-01-16 17:31:38 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-01-26 09:03:18 +0200 |
commit | b62d252b7b51cd4ca8030577849842b07e1913fb (patch) | |
tree | 657a053d882c5d642e3700862fc65795c5d22152 /src/list.c | |
parent | 5b6c6e3573f241b19a174ea74d8258f4b547d860 (diff) | |
download | apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.gz apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.bz2 apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.tar.xz apk-tools-b62d252b7b51cd4ca8030577849842b07e1913fb.zip |
Update apk to make man pages sole source of truth
Detailed docs have been removed from the apk binaries, in favor of
git-style short summaries of each command.
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -227,13 +227,13 @@ static int option_parse_applet(void *pctx, struct apk_db_options *dbopts, int op } static const struct apk_option options_applet[] = { - { 'I', "installed", "List installed packages only" }, - { 'O', "orphaned", "List orphaned packages only" }, - { 'a', "available", "List available packages only" }, - { 'u', "upgradable", "List upgradable packages only" }, - { 'o', "origin", "List packages by origin" }, - { 'd', "depends", "List packages by dependency" }, - { 'P', "providers", "List packages by provider" }, + { 'I', "installed" }, + { 'O', "orphaned" }, + { 'a', "available" }, + { 'u', "upgradable" }, + { 'o', "origin" }, + { 'd', "depends" }, + { 'P', "providers" }, }; static const struct apk_option_group optgroup_applet = { @@ -261,7 +261,6 @@ static int list_main(void *pctx, struct apk_database *db, struct apk_string_arra static struct apk_applet apk_list = { .name = "list", - .help = "List packages by PATTERN and other criteria", .arguments = "PATTERN", .open_flags = APK_OPENF_READ, .command_groups = APK_COMMAND_GROUP_QUERY, |