Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
apk-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
61
Issues
61
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
apk-tools
Commits
81152df2
Commit
81152df2
authored
Jun 19, 2013
by
Timo Teräs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
applets: unify help message by removing final dots
parent
9c54ef72
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
16 additions
and
24 deletions
+16
-24
src/add.c
src/add.c
+2
-3
src/audit.c
src/audit.c
+1
-3
src/cache.c
src/cache.c
+2
-4
src/del.c
src/del.c
+2
-2
src/fetch.c
src/fetch.c
+1
-3
src/fix.c
src/fix.c
+1
-1
src/index.c
src/index.c
+1
-1
src/info.c
src/info.c
+1
-1
src/policy.c
src/policy.c
+1
-1
src/search.c
src/search.c
+1
-1
src/update.c
src/update.c
+1
-1
src/upgrade.c
src/upgrade.c
+1
-1
src/ver.c
src/ver.c
+1
-2
No files found.
src/add.c
View file @
81152df2
...
...
@@ -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
),
...
...
src/audit.c
View file @
81152df2
...
...
@@ -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
),
...
...
src/cache.c
View file @
81152df2
...
...
@@ -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
,
...
...
src/del.c
View file @
81152df2
...
...
@@ -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
),
...
...
src/fetch.c
View file @
81152df2
...
...
@@ -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
,
...
...
src/fix.c
View file @
81152df2
...
...
@@ -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
),
...
...
src/index.c
View file @
81152df2
...
...
@@ -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
),
...
...
src/info.c
View file @
81152df2
...
...
@@ -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
),
...
...
src/policy.c
View file @
81152df2
...
...
@@ -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
,
};
...
...
src/search.c
View file @
81152df2
...
...
@@ -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
),
...
...
src/update.c
View file @
81152df2
...
...
@@ -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
,
...
...
src/upgrade.c
View file @
81152df2
...
...
@@ -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
),
...
...
src/ver.c
View file @
81152df2
...
...
@@ -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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment