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/add.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/add.c')
-rw-r--r-- | src/add.c | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -46,16 +46,10 @@ static int option_parse_applet(void *ctx, struct apk_db_options *dbopts, int opt } static const struct apk_option options_applet[] = { - { 0x10000, "initdb", "Initialize database" }, - { 'u', "upgrade", "Prefer to upgrade package" }, - { 'l', "latest", - "Select latest version of package (if it is not pinned), and " - "print error if it cannot be installed due to other dependencies" }, - { 't', "virtual", - "Instead of adding all the packages to 'world', create a new virtual " - "package with the listed dependencies and add that to 'world'; the " - "actions of the command are easily reverted by deleting the virtual " - "package", required_argument, "NAME" }, + { 0x10000, "initdb" }, + { 'u', "upgrade" }, + { 'l', "latest" }, + { 't', "virtual", required_argument, "NAME" }, }; static const struct apk_option_group optgroup_applet = { @@ -202,8 +196,6 @@ static int add_main(void *ctx, struct apk_database *db, struct apk_string_array static struct apk_applet apk_add = { .name = "add", - .help = "Add PACKAGEs to 'world' and install (or upgrade) " - "them, while ensuring that all dependencies are met", .arguments = "PACKAGE...", .open_flags = APK_OPENF_WRITE, .command_groups = APK_COMMAND_GROUP_INSTALL, |