Skip to content

Commit 3fa3df2

Browse files
committed
Fixed #309 - Use key instead of text for meta variables
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent c909896 commit 3fa3df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributecode/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def inventory(location, output, mapping, quiet, format, show_all):
176176
@click.argument('output', nargs=1, required=True,
177177
type=click.Path(exists=True, writable=True, dir_okay=True, resolve_path=True))
178178

179-
@click.option('--fetch-license', type=str, nargs=2,
179+
@click.option('--fetch-license', type=str, nargs=2, metavar='<key>',
180180
help=('Fetch licenses text from a DejaCode API. and create <license>.LICENSE side-by-side '
181181
'with the generated .ABOUT file using data fetched from a DejaCode License Library. '
182182
'The "license" key is needed in the input. '

0 commit comments

Comments
 (0)