Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
1a8c1437
Commit
1a8c1437
authored
Aug 07, 2011
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix --help
parent
a568cffd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
bin/ruby-build
+4
-3
No files found.
bin/ruby-build
View file @
1a8c1437
...
@@ -118,7 +118,10 @@ usage() {
...
@@ -118,7 +118,10 @@ usage() {
{
echo
"usage: ruby-build [-v|--verbose] definition prefix"
{
echo
"usage: ruby-build [-v|--verbose] definition prefix"
echo
" ruby-build --definitions"
echo
" ruby-build --definitions"
}
>
&2
}
>
&2
[
-z
"
$1
"
]
&&
exit
1
if
[
-z
"
$1
"
]
;
then
exit
1
fi
}
}
list_definitions
()
{
list_definitions
()
{
...
@@ -137,8 +140,6 @@ case "$1" in
...
@@ -137,8 +140,6 @@ case "$1" in
"-h"
|
"--help"
)
"-h"
|
"--help"
)
usage without_exiting
usage without_exiting
{
echo
{
echo
echo
"Options:"
echo
echo
" -v/--verbose Verbose mode: print compilation status to stdout"
echo
" -v/--verbose Verbose mode: print compilation status to stdout"
echo
" --definitions List all built-in definitions"
echo
" --definitions List all built-in definitions"
echo
echo
...
...
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