summaryrefslogtreecommitdiff
path: root/src/info.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-16 17:31:38 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:03:18 +0200
commitb62d252b7b51cd4ca8030577849842b07e1913fb (patch)
tree657a053d882c5d642e3700862fc65795c5d22152 /src/info.c
parent5b6c6e3573f241b19a174ea74d8258f4b547d860 (diff)
downloadapk-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/info.c')
-rw-r--r--src/info.c31
1 files changed, 15 insertions, 16 deletions
diff --git a/src/info.c b/src/info.c
index e9a2b06..89e5521 100644
--- a/src/info.c
+++ b/src/info.c
@@ -450,21 +450,21 @@ static int info_main(void *ctx, struct apk_database *db, struct apk_string_array
}
static const struct apk_option options_applet[] = {
- { 'L', "contents", "List contents of the PACKAGE" },
- { 'e', "installed", "Check if PACKAGE is installed" },
- { 'W', "who-owns", "Print the package owning the specified file" },
- { 'R', "depends", "List packages that the PACKAGE depends on" },
- { 'P', "provides", "List virtual packages provided by PACKAGE" },
- { 'r', "rdepends", "List all packages depending on PACKAGE" },
- { 0x10000, "replaces", "List packages whom files PACKAGE might replace" },
- { 0x10002, "install-if", "List the PACKAGE's install_if rule" },
- { 0x10003, "rinstall-if", "List all packages having install_if referencing PACKAGE" },
- { 'w', "webpage", "Show URL for more information about PACKAGE" },
- { 's', "size", "Show installed size of PACKAGE" },
- { 'd', "description", "Print description for PACKAGE" },
- { 0x10001, "license", "Print license for PACKAGE" },
- { 't', "triggers", "Print active triggers of PACKAGE" },
- { 'a', "all", "Print all information about PACKAGE" },
+ { 'L', "contents" },
+ { 'e', "installed" },
+ { 'W', "who-owns" },
+ { 'R', "depends" },
+ { 'P', "provides" },
+ { 'r', "rdepends" },
+ { 0x10000, "replaces" },
+ { 0x10002, "install-if" },
+ { 0x10003, "rinstall-if" },
+ { 'w', "webpage" },
+ { 's', "size" },
+ { 'd', "description" },
+ { 0x10001, "license" },
+ { 't', "triggers" },
+ { 'a', "all" },
};
static const struct apk_option_group optgroup_applet = {
@@ -476,7 +476,6 @@ static const struct apk_option_group optgroup_applet = {
static struct apk_applet apk_info = {
.name = "info",
- .help = "Give detailed information about PACKAGEs or repositories",
.arguments = "PACKAGE...",
.open_flags = APK_OPENF_READ,
.command_groups = APK_COMMAND_GROUP_QUERY,