Small changes to dynamic field add command.
This commit is contained in:
parent
3402aa10f0
commit
fce4916235
@ -94,14 +94,14 @@ sub Configure {
|
||||
Description => 'Whether to reorder other fields if an occupied order number is chosen. Defaults to 1.',
|
||||
Required => 0,
|
||||
HasValue => 1,
|
||||
ValueRegex => qr/\d/smx,
|
||||
ValueRegex => qr/^[[0-1]{1}$/smx,
|
||||
);
|
||||
$Self->AddOption(
|
||||
Name => 'valid',
|
||||
Description => 'Whether the field to add is valid or invalid. Defaults to 1.',
|
||||
Required => 0,
|
||||
HasValue => 1,
|
||||
ValueRegex => qr/\d/smx,
|
||||
ValueRegex => qr/^[0-1]{1}$/smx,
|
||||
);
|
||||
$Self->AddOption(
|
||||
Name => 'stdin',
|
||||
|
Loading…
Reference in New Issue
Block a user