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:
@@ -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),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user