Skip to content

Commit

Permalink
Corrected the documentaiton for -j,--jobs` (closes #462).
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Sep 1, 2023
1 parent f497805 commit 61a627e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/man/ruby-install.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ https://github.com/postmodern/ruby-install#readme
Remove the downloaded Ruby archive and unpacked source-code after
installation.

`-j[`*JOBS*`]`, `--jobs[=`*JOBS*`]`
`-j`, `--jobs` *NUM*, `-j`*NUM*, `--jobs=`*NUM*
Specifies the number of *make* jobs to run in parallel when compiling
Ruby. If the -j option is provided without an argument, *make* will
allow an unlimited number of simultaneous jobs.
Expand Down
2 changes: 1 addition & 1 deletion share/man/man1/ruby-install.1
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Remove the downloaded Ruby archive and unpacked source\-code after
installation\.
.LP
.TP
\fB-j[\fR\fIJOBS\fP\fB]\fR, \fB--jobs[=\fR\fIJOBS\fP\fB]\fR
\fB-j\fR, \fB--jobs\fR \fINUM\fP, \fB-j\fR\fINUM\fP, \fB--jobs=\fR\fINUM\fP
Specifies the number of \fImake\fP jobs to run in parallel when compiling
Ruby\. If the \-j option is provided without an argument, \fImake\fP will
allow an unlimited number of simultaneous jobs\.
Expand Down
3 changes: 2 additions & 1 deletion share/ruby-install/ruby-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Options:
--system Alias for -i $system_dir
-s, --src-dir DIR Directory to download source-code into
-c, --cleanup Remove archive and unpacked source-code after installation
-j[JOBS], --jobs[=JOBS] Number of jobs to run in parallel when compiling
-j, --jobs NUM, -jNUM, --jobs=NUM
Number of jobs to run in parallel when compiling
-p, --patch FILE Patch to apply to the Ruby source-code
-M, --mirror URL Alternate mirror to download the Ruby archive from
-u, --url URL Alternate URL to download the Ruby archive from
Expand Down

0 comments on commit 61a627e

Please sign in to comment.