applets: unify help message by removing final dots

cute-signatures
Timo Teräs 2013-06-19 16:43:51 +03:00
parent 9c54ef726c
commit 81152df214
13 changed files with 16 additions and 24 deletions

View File

@ -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),

View File

@ -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),

View File

@ -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,

View File

@ -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),

View File

@ -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,

View File

@ -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),

View File

@ -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),

View File

@ -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),

View File

@ -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,
};

View File

@ -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),

View File

@ -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,

View File

@ -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),

View File

@ -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),