1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

Merge pull request #144 from QData/remove-choices

remove choices from parser
This commit is contained in:
Jack Morris
2020-06-22 16:45:07 -04:00
committed by GitHub
5 changed files with 6 additions and 6 deletions

View File

@@ -46,8 +46,7 @@ class AttackCommand(TextAttackCommand):
type=str,
required=False,
default="word-swap-embedding",
choices=transformation_names,
help='The transformation to apply. Usage: "--transformation {transformation}:{arg_1}={value_1},{arg_3}={value_3}. Choices: '
help='The transformation to apply. Usage: "--transformation {transformation}:{arg_1}={value_1},{arg_3}={value_3}". Choices: '
+ str(transformation_names),
)