Cleanup and re-issue.
This commit is contained in:
parent
02475f3034
commit
2f450c0170
1
Makefile
1
Makefile
|
@ -8,6 +8,7 @@ master:
|
|||
|
||||
docs: master
|
||||
cd master && git pull origin master && make docs
|
||||
rm -fr _modules _static _sources modules static sources
|
||||
mv master/docs/_build/html/* .
|
||||
mv _modules modules
|
||||
mv _static static
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
=====
|
||||
Usage
|
||||
=====
|
||||
|
||||
|
||||
Command Line
|
||||
------------
|
||||
|
||||
|
@ -12,7 +12,7 @@ git lint [options] [filenames]
|
|||
Options
|
||||
-------
|
||||
|
||||
.. include: arguments.rst
|
||||
.. include:: arguments.rst
|
||||
|
||||
As a pre-commit hook:
|
||||
---------------------
|
||||
|
|
34
usage.html
34
usage.html
|
@ -71,6 +71,40 @@
|
|||
</div>
|
||||
<div class="section" id="options">
|
||||
<h2><a class="toc-backref" href="#id3">Options</a><a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
|
||||
<dl class="docutils">
|
||||
<dt><strong>-o <linters>, –only=<linters></strong></dt>
|
||||
<dd>A comma-separated list of only those linters to run.</dd>
|
||||
<dt><strong>-x <linters> –exclude=<linters></strong></dt>
|
||||
<dd>A comma-separated list of linters to skip.</dd>
|
||||
<dt><strong>-l, –linters</strong></dt>
|
||||
<dd>Show the list of configured linters.</dd>
|
||||
<dt><strong>-b, –base</strong></dt>
|
||||
<dd>Check all changed files from GIT_DIR, not just those in the current directory and down.</dd>
|
||||
<dt><strong>-a, –all</strong></dt>
|
||||
<dd>Scan all files, not just those that have changed.</dd>
|
||||
<dt><strong>-e, –every</strong></dt>
|
||||
<dd>Scan all files, not just those that have changed, from GIT_DIR. Short for -b -a</dd>
|
||||
<dt><strong>-w, –workspace</strong></dt>
|
||||
<dd>Scan the workspace [default]</dd>
|
||||
<dt><strong>-s, –staging</strong></dt>
|
||||
<dd>Scan the staging area (useful for pre-commit).</dd>
|
||||
<dt><strong>-c <path>, –config=<path></strong></dt>
|
||||
<dd>Path to config file</dd>
|
||||
<dt><strong>-t, –bylinter</strong></dt>
|
||||
<dd>Group reports by linter first as they appear in the config file [default]</dd>
|
||||
<dt><strong>-f, –byfile</strong></dt>
|
||||
<dd>Group reports by file first, linter second</dd>
|
||||
<dt><strong>-d, –dryrun</strong></dt>
|
||||
<dd>Report what git-lint would do, but don’t actually do anything.</dd>
|
||||
<dt><strong>-q, –quiet</strong></dt>
|
||||
<dd>Produce a short report of file that failed to pass.</dd>
|
||||
<dt><strong>-h, –help</strong></dt>
|
||||
<dd>Print a short help message</dd>
|
||||
<dt><strong>-V, –verbose</strong></dt>
|
||||
<dd>Print a slightly more verbose long report</dd>
|
||||
<dt><strong>-v, –version</strong></dt>
|
||||
<dd>Print version information</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="section" id="as-a-pre-commit-hook">
|
||||
<h2><a class="toc-backref" href="#id4">As a pre-commit hook:</a><a class="headerlink" href="#as-a-pre-commit-hook" title="Permalink to this headline">¶</a></h2>
|
||||
|
|
Loading…
Reference in New Issue