Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
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
open-source
annotate
Commits
2d7694ef
Commit
2d7694ef
authored
Jul 29, 2016
by
Gregory Sherrid
Committed by
Cuong Tran
Jul 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling to commas (#379)
* Correct 'comas' to 'commas' in README
parent
441fc007
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
README.rdoc
README.rdoc
+1
-1
annotate
bin/annotate
+3
-3
No files found.
README.rdoc
View file @
2d7694ef
...
...
@@ -184,7 +184,7 @@ you can do so with a simple environment variable, instead of editing the
-i, --show-indexes List the table's database indexes in the annotation
-k, --show-foreign-keys List the table's foreign key constraints in the annotation
-s, --simple-indexes Concat the column's related indexes in the annotation
--model-dir dir Annotate model files stored in dir rather than app/models, separate multiple dirs with comas
--model-dir dir Annotate model files stored in dir rather than app/models, separate multiple dirs with com
m
as
--ignore-model-subdirects Ignore subdirectories of the models directory
--sort Sort columns alphabetically, rather than in creation order
-R, --require path Additional file to require before loading models, may be used multiple times
...
...
bin/annotate
View file @
2d7694ef
...
...
@@ -119,12 +119,12 @@ OptionParser.new do |opts|
end
opts
.
on
(
'--model-dir dir'
,
"Annotate model files stored in dir rather than app/models, separate multiple dirs with comas"
)
do
|
dir
|
"Annotate model files stored in dir rather than app/models, separate multiple dirs with com
m
as"
)
do
|
dir
|
ENV
[
'model_dir'
]
=
dir
end
opts
.
on
(
'--root-dir dir'
,
"Annotate files stored within root dir projects, separate multiple dirs with comas"
)
do
|
dir
|
"Annotate files stored within root dir projects, separate multiple dirs with com
m
as"
)
do
|
dir
|
ENV
[
'root_dir'
]
=
dir
end
...
...
@@ -181,7 +181,7 @@ OptionParser.new do |opts|
ENV
[
'ignore_routes'
]
=
regex
end
opts
.
on
(
'--hide-limit-column-types VALUES'
,
"don't show limit for given column types, separated by comas (i.e., `integer,boolean,text`)"
)
do
|
values
|
opts
.
on
(
'--hide-limit-column-types VALUES'
,
"don't show limit for given column types, separated by com
m
as (i.e., `integer,boolean,text`)"
)
do
|
values
|
ENV
[
'hide_limit_column_types'
]
=
"
#{
values
}
"
end
...
...
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