Skip to content

Commit

Permalink
cli: Add a comment on function_name
Browse files Browse the repository at this point in the history
* Add a comment on function_name being conditionally set later.

Signed-off-by: mr.Shu <mr@shu.io>
  • Loading branch information
mrshu committed Feb 20, 2020
1 parent 67c029f commit 6c2a081
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions m2cgen/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
required=True)
parser.add_argument(
"--function_name", "-fn", dest="function_name", type=str,
# The default value is conditional and will be set in the argument's
# post-processing, based on the signature of the `export` function
# that belongs to the specified target language.
default=None,
help="Name of the function in the generated code.")
parser.add_argument(
Expand Down

0 comments on commit 6c2a081

Please sign in to comment.