Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
violethaze74
appstream
Commits
a7315dd0
Commit
a7315dd0
authored
Jan 16, 2020
by
Matthias Klumpp
Browse files
ascli: Add vercmp shorthand for compare-versions subcommand
parent
4d0683ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/appstream-cli.c
View file @
a7315dd0
...
...
@@ -994,7 +994,7 @@ as_client_run (char **argv, int argc)
return
as_client_run_status
(
argv
,
argc
);
}
else
if
(
g_strcmp0
(
command
,
"convert"
)
==
0
)
{
return
as_client_run_convert
(
argv
,
argc
);
}
else
if
(
g_strcmp0
(
command
,
"compare-versions"
)
==
0
)
{
}
else
if
(
(
g_strcmp0
(
command
,
"compare-versions"
)
==
0
)
||
(
g_strcmp0
(
command
,
"vercmp"
)
==
0
))
{
return
as_client_run_compare_versions
(
argv
,
argc
);
}
else
if
(
g_strcmp0
(
command
,
"new-template"
)
==
0
)
{
return
as_client_run_new_template
(
argv
,
argc
);
...
...
Write
Preview
Supports
Markdown
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