Allow specify --local without value #122

Merged
fyrchik merged 1 commit from dstepanov-yadro/xk6-frostfs:fix/local_action_true into master 2024-01-24 15:30:10 +00:00
Showing only changes of commit 4ff87f9bf6 - Show all commits

View file

@ -34,7 +34,7 @@ parser.add_argument('--ignore-errors', help='Ignore preset errors', action='stor
parser.add_argument('--workers', help='Count of workers in preset. Max = 50, Default = 50', default=50)
parser.add_argument('--sleep', help='Time to sleep between containers creation and objects upload (in seconds), '
'Default = 8', default=8)
parser.add_argument('--local', help='Create containers that store data on provided endpoints. Warning: additional empty containers may be created.', default=False)
parser.add_argument('--local', help='Create containers that store data on provided endpoints. Warning: additional empty containers may be created.', action='store_true')
args: Namespace = parser.parse_args()
print(args)