diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-06-19 16:43:51 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-06-19 16:49:14 +0300 |
commit | 81152df214dab4866f2076ef2eba04e78dbec1ab (patch) | |
tree | c8a5cf9171cff4b82d05470d878a7c12362b604c /src | |
parent | 9c54ef726c624a4635c0b1a8160baab7b575df62 (diff) | |
download | apk-tools-81152df214dab4866f2076ef2eba04e78dbec1ab.tar.gz apk-tools-81152df214dab4866f2076ef2eba04e78dbec1ab.tar.bz2 apk-tools-81152df214dab4866f2076ef2eba04e78dbec1ab.tar.xz apk-tools-81152df214dab4866f2076ef2eba04e78dbec1ab.zip |
applets: unify help message by removing final dots
Diffstat (limited to 'src')
-rw-r--r-- | src/add.c | 5 | ||||
-rw-r--r-- | src/audit.c | 4 | ||||
-rw-r--r-- | src/cache.c | 6 | ||||
-rw-r--r-- | src/del.c | 4 | ||||
-rw-r--r-- | src/fetch.c | 4 | ||||
-rw-r--r-- | src/fix.c | 2 | ||||
-rw-r--r-- | src/index.c | 2 | ||||
-rw-r--r-- | src/info.c | 2 | ||||
-rw-r--r-- | src/policy.c | 2 | ||||
-rw-r--r-- | src/search.c | 2 | ||||
-rw-r--r-- | src/update.c | 2 | ||||
-rw-r--r-- | src/upgrade.c | 2 | ||||
-rw-r--r-- | src/ver.c | 3 |
13 files changed, 16 insertions, 24 deletions
@@ -156,13 +156,12 @@ static struct apk_option add_options[] = { "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" }, + "package", required_argument, "NAME" }, }; static struct apk_applet apk_add = { .name = "add", - .help = "Add (or update) PACKAGEs to main dependencies and install " - "them, while ensuring that all dependencies are met.", + .help = "Add/update PACKAGEs to main dependencies and install them", .arguments = "PACKAGE...", .open_flags = APK_OPENF_WRITE, .context_size = sizeof(struct add_ctx), diff --git a/src/audit.c b/src/audit.c index 27d3391..1b82c28 100644 --- a/src/audit.c +++ b/src/audit.c @@ -285,9 +285,7 @@ static struct apk_option audit_options[] = { static struct apk_applet apk_audit = { .name = "audit", - .help = "Audit the directories (defaults to all) for changes " - "compared to installed database. Use -q to list only " - "package names instead of files.", + .help = "Audit the directories for changes", .arguments = "[directory to audit]...", .open_flags = APK_OPENF_READ|APK_OPENF_NO_SCRIPTS|APK_OPENF_NO_REPOS, .context_size = sizeof(struct audit_ctx), diff --git a/src/cache.c b/src/cache.c index 3be5b6d..25c9a23 100644 --- a/src/cache.c +++ b/src/cache.c @@ -142,10 +142,8 @@ err: static struct apk_applet apk_cache = { .name = "cache", - .help = "Download missing PACKAGEs to cache directory, or delete " - "files no longer required. Package caching is enabled by " - "making /etc/apk/cache a symlink to the directory (on boot " - "media) that will be used as package cache.", + .help = "Download missing PACKAGEs to cache and/or delete " + "unneeded files from cache", .arguments = "sync | clean | download", .open_flags = APK_OPENF_READ|APK_OPENF_NO_SCRIPTS|APK_OPENF_NO_INSTALLED|APK_OPENF_CACHE_WRITE, .main = cache_main, @@ -130,12 +130,12 @@ static int del_main(void *pctx, struct apk_database *db, struct apk_string_array static struct apk_option del_options[] = { { 'r', "rdepends", "Recursively delete all top-level reverse " - "dependencies too." }, + "dependencies too" }, }; static struct apk_applet apk_del = { .name = "del", - .help = "Remove PACKAGEs from the main dependencies and uninstall them.", + .help = "Remove PACKAGEs from the main dependencies and uninstall them", .arguments = "PACKAGE...", .open_flags = APK_OPENF_WRITE, .context_size = sizeof(struct del_ctx), diff --git a/src/fetch.c b/src/fetch.c index c3f6e3b..1d7389c 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -269,9 +269,7 @@ static struct apk_option fetch_options[] = { static struct apk_applet apk_fetch = { .name = "fetch", - .help = "Download PACKAGEs from global repositories to a local " - "directory from which a local mirror repository can be " - "created.", + .help = "Download PACKAGEs from global repositories to a local directory", .arguments = "PACKAGE...", .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE | APK_OPENF_NO_INSTALLED_REPO, @@ -84,7 +84,7 @@ static struct apk_option fix_options[] = { static struct apk_applet apk_fix = { .name = "fix", .help = "Repair package or upgrade it without modifying main " - "dependencies.", + "dependencies", .arguments = "PACKAGE...", .open_flags = APK_OPENF_WRITE, .context_size = sizeof(struct fix_ctx), diff --git a/src/index.c b/src/index.c index ec6a859..c61c78b 100644 --- a/src/index.c +++ b/src/index.c @@ -251,7 +251,7 @@ static struct apk_option index_options[] = { static struct apk_applet apk_index = { .name = "index", - .help = "Create repository index file from FILEs.", + .help = "Create repository index file from FILEs", .arguments = "FILE...", .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE | APK_OPENF_NO_REPOS, .context_size = sizeof(struct index_ctx), @@ -428,7 +428,7 @@ static struct apk_option info_options[] = { static struct apk_applet apk_info = { .name = "info", - .help = "Give detailed information about PACKAGEs or repositores.", + .help = "Give detailed information about PACKAGEs or repositores", .arguments = "PACKAGE...", .open_flags = APK_OPENF_READ, .context_size = sizeof(struct info_ctx), diff --git a/src/policy.c b/src/policy.c index d3f171b..773cf69 100644 --- a/src/policy.c +++ b/src/policy.c @@ -67,7 +67,7 @@ static int policy_main(void *ctx, struct apk_database *db, struct apk_string_arr static struct apk_applet apk_policy = { .name = "policy", - .help = "Show repository policy for packages.", + .help = "Show repository policy for packages", .open_flags = APK_OPENF_READ, .main = policy_main, }; diff --git a/src/search.c b/src/search.c index b168465..3c323db 100644 --- a/src/search.c +++ b/src/search.c @@ -171,7 +171,7 @@ static struct apk_option search_options[] = { static struct apk_applet apk_search = { .name = "search", - .help = "Search package by PATTERNs or by indexed dependencies.", + .help = "Search package by PATTERNs or by indexed dependencies", .arguments = "PATTERN", .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE, .context_size = sizeof(struct search_ctx), diff --git a/src/update.c b/src/update.c index c9dd710..ed721be 100644 --- a/src/update.c +++ b/src/update.c @@ -43,7 +43,7 @@ static int update_main(void *ctx, struct apk_database *db, struct apk_string_arr static struct apk_applet apk_update = { .name = "update", - .help = "Update repository indexes from all remote repositories.", + .help = "Update repository indexes from all remote repositories", .open_flags = APK_OPENF_WRITE, .forced_flags = APK_UPDATE_CACHE, .main = update_main, diff --git a/src/upgrade.c b/src/upgrade.c index f23ea91..9eb7890 100644 --- a/src/upgrade.c +++ b/src/upgrade.c @@ -143,7 +143,7 @@ static struct apk_option upgrade_options[] = { static struct apk_applet apk_upgrade = { .name = "upgrade", - .help = "Upgrade currently installed packages to match repositories.", + .help = "Upgrade currently installed packages to match repositories", .open_flags = APK_OPENF_WRITE, .context_size = sizeof(struct upgrade_ctx), .num_options = ARRAY_SIZE(upgrade_options), @@ -191,8 +191,7 @@ static struct apk_option ver_options[] = { static struct apk_applet apk_ver = { .name = "version", - .help = "Compare package versions (in installed database vs. available)" - " or do tests on version strings given on command line.", + .help = "Compare package versions", .open_flags = APK_OPENF_READ, .context_size = sizeof(struct ver_ctx), .num_options = ARRAY_SIZE(ver_options), |