Skip to content

Commit 84d318a

Browse files
Update information of program in the binary file.
1 parent f66c594 commit 84d318a

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

bin/gendiff

+15-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,21 @@ if (file_exists($autoloadPathLocal)) {
1313

1414
use function Differ\Differ\genDiff;
1515

16-
$doc = <<<DOC
17-
Generate diff
16+
$about = <<<ABOUT
17+
____ _ __ __
18+
| _ \(_)/ _|/ _| ___ _ __
19+
| | | | | |_| |_ / _ \ '__|
20+
| |_| | | _| _| __/ |
21+
|____/|_|_| |_| \___|_|
22+
23+
Version: 1.0
24+
25+
Util for search different between data structure.
26+
With different formats of files.
27+
ABOUT;
1828

29+
30+
$doc = <<<DOC
1931
Usage:
2032
gendiff (-h|--help)
2133
gendiff (-v|--version)
@@ -27,6 +39,6 @@ Options:
2739
--format <fmt> Report format [default: stylish]
2840
DOC;
2941

30-
$args = Docopt::handle($doc, array('version' => 'Gendiff 1.0'));
42+
$args = Docopt::handle($doc, array('version' => $about));
3143

3244
echo genDiff($args['<firstFile>'], $args['<secondFile>'], $args['--format']);

0 commit comments

Comments
 (0)