Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
82e9ed1d
Commit
82e9ed1d
authored
13 years ago
by
Konstantin Osipov
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix-748599' of /home/kostja/work/dam into master-stable
parents
2633f693
de69bd2e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
core/tarantool.c
+1
-1
1 addition, 1 deletion
core/tarantool.c
test/box/args.result
+2
-0
2 additions, 0 deletions
test/box/args.result
test/box/args.test
+1
-0
1 addition, 0 deletions
test/box/args.test
with
4 additions
and
1 deletion
core/tarantool.c
+
1
−
1
View file @
82e9ed1d
...
...
@@ -448,7 +448,7 @@ main(int argc, char **argv)
i
=
tarantool_cfg_iterator_init
();
while
((
key
=
tarantool_cfg_iterator_next
(
i
,
&
cfg
,
&
value
))
!=
NULL
)
{
if
(
strcmp
(
key
,
cfg_paramname
)
==
0
)
{
if
(
strcmp
(
key
,
cfg_paramname
)
==
0
&&
value
!=
NULL
)
{
printf
(
"%s
\n
"
,
value
);
free
(
value
);
...
...
This diff is collapsed.
Click to expand it.
test/box/args.result
+
2
−
0
View file @
82e9ed1d
...
...
@@ -38,6 +38,8 @@ Usage: tarantool_silverbox [OPTIONS]
Please visit project home page at http://launchpad.net/tarantool
to see online documentation, submit bugs or contribute a patch.
tarantool_silverbox --cfg-get=custom_proc_title
tarantool_silverbox -Z
tarantool_silverbox: -Z: unknown option
...
...
This diff is collapsed.
Click to expand it.
test/box/args.test
+
1
−
0
View file @
82e9ed1d
...
...
@@ -4,6 +4,7 @@ import os
server
.
test_option
(
"--help"
)
server
.
test_option
(
"-h"
)
sys
.
stdout
.
push_filter
(
"(/\S+)+/tarantool"
,
"tarantool"
)
server
.
test_option
(
"--cfg-get=custom_proc_title"
)
server
.
test_option
(
"-Z"
)
server
.
test_option
(
"--no-such-option"
)
server
.
test_option
(
"--version --no-such-option"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment