SoftwareIntrospectionLab/MininGit — pull request #157 by philip-iii (2012-04-18 11:41:11+00:00)
Title: added list of extensions in help message

Minor and non-essential usability improvement. Shows a list of available extensions and extensions that are missing certain dependencies in the help message. Instead of:

```
--extensions=ext1,ext2, List of extensions to run, available extensions
can be found under 'pycvsanaly2/extensions'
directory

```

it would now show (depending on the current configuration) e.g.

```
--extensions=ext1,ext2, List of extensions to run. Currently available
extensions are:

PatchLOC
Metrics
Patches
Hunks
PatchesAndHunks
Content
CommitsLOC
BugFixMessage
FileTypes
FileCount

The following extensions are not available
due to missing dependencies:

Blame (missing dependency: guilty.parser)
LineBlame (missing dependency: guilty.parser)
HunkBlame (missing dependency: guilty.parser)
line_types (missing dependency: pygments.lexers)

```

Let me know if you have any requests regarding the implementation (I know it is not the finest piece of python code as it is).