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
fbc4d912
Commit
fbc4d912
authored
Jun 27, 2013
by
Dubiousjim
Committed by
Timo Teräs
Jun 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version: clarify usage
Acked-by:
Natanael Copa
<
ncopa@alpinelinux.org
>
parent
f45aefd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/ver.c
src/ver.c
+4
-3
No files found.
src/ver.c
View file @
fbc4d912
...
...
@@ -183,8 +183,8 @@ static int ver_main(void *pctx, struct apk_database *db, struct apk_string_array
static
struct
apk_option
ver_options
[]
=
{
{
'I'
,
"indexes"
,
"Print description and versions of indexes"
},
{
't'
,
"test"
,
"Compare two given versions"
},
{
'c'
,
"check"
,
"Check
if the given version string is
valid"
},
{
't'
,
"test"
,
"Compare two given versions
, output '<', '=' or '>'
"
},
{
'c'
,
"check"
,
"Check
the given version strings, output any that are in
valid"
},
{
'a'
,
"all"
,
"Consider packages from all repository tags"
},
{
'l'
,
"limit"
,
"Limit output to packages with status matching one of LIMCHARs"
,
required_argument
,
"LIMCHARs"
},
...
...
@@ -192,7 +192,8 @@ static struct apk_option ver_options[] = {
static
struct
apk_applet
apk_ver
=
{
.
name
=
"version"
,
.
help
=
"Compare package versions"
,
.
help
=
"Compare package versions (in installed database vs. available) "
"or do tests on literal version strings"
,
.
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