Skip to content

Commit 2e7c576

Browse files
committed
- Added support for specifying the vendor from the commandline.
1 parent c964c14 commit 2e7c576

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/cna-assignment-info-to-json.pl

+5-1
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@
5454
"Options :\n" .
5555
" -?, -h, --help Display this help and exit.\n" .
5656
" -f, --files Write output to individual files instead of to STDOUT.\n" .
57-
" -s, --spec <spec> Output JSON that conforms to specified specification (defaults to $data_version).\n";
57+
" -s, --spec <spec> Output JSON that conforms to specified specification (defaults to $data_version).\n" .
58+
" -v, --vendor <vendor> Use <vendor> as the specified vendor instead of '$vendor'.\n";
5859
exit 1;
5960
}
6061

62+
$vendor = $options{vendor} if (exists $options{vendor});
63+
64+
6165

6266
######################################################################
6367
# Process input.

0 commit comments

Comments
 (0)