Completed
Push — master ( 6054f8...3b037a )
by Matthias
24:24
created

Help::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 7
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
namespace Cauditor\Runners;
4
5
/**
6
 * @author Matthias Mullie <[email protected]>
7
 * @copyright Copyright (c) 2016, Matthias Mullie. All rights reserved.
8
 * @license LICENSE MIT
9
 */
10
class Help implements RunnerInterface
11
{
12
    public function execute()
13
    {
14
        echo "Usage: cauditor [-ah] [path]\n\n",
15
            "  --all           Analyzes all missing commits (instead of only the current).\n",
16
            "  --help          Prints this help message.\n",
17
            "  --path=<dir>    Analyze a specific directory (instead of pwd).\n";
18
    }
19
}
20