Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Libraries
mruby
Commits
f607fd68
Commit
f607fd68
authored
Apr 09, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1163 from h2so5/show-version-once
Show version only once with '-v' option in mruby/mrbc
parents
c5c3fa19
6afe1384
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tools/mrbc/mrbc.c
tools/mrbc/mrbc.c
+1
-1
tools/mruby/mruby.c
tools/mruby/mruby.c
+1
-1
No files found.
tools/mrbc/mrbc.c
View file @
f607fd68
...
...
@@ -106,7 +106,7 @@ parse_args(mrb_state *mrb, int argc, char **argv, struct _args *args)
args
->
check_syntax
=
1
;
break
;
case
'v'
:
mrb_show_version
(
mrb
);
if
(
!
args
->
verbose
)
mrb_show_version
(
mrb
);
args
->
verbose
=
1
;
break
;
case
'g'
:
...
...
tools/mruby/mruby.c
View file @
f607fd68
...
...
@@ -109,7 +109,7 @@ append_cmdline:
}
break
;
case
'v'
:
mrb_show_version
(
mrb
);
if
(
!
args
->
verbose
)
mrb_show_version
(
mrb
);
args
->
verbose
=
1
;
break
;
case
'-'
:
...
...
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