Use $1 instead of $2.
I think it was just a mistake, I can't remember a reason for this.
This commit is contained in:
parent
371f6d4a7a
commit
03091d6478
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ p_$1.add_argument(
|
|||
help='''
|
||||
''',
|
||||
)
|
||||
p_$1.set_defaults(func=$2_argparse)
|
||||
p_$1.set_defaults(func=$1_argparse)
|
||||
]]></content>
|
||||
<tabTrigger>subparser</tabTrigger>
|
||||
<scope>source.python</scope>
|
||||
|
|
Loading…
Reference in a new issue