Scripts: fix incorrect handling of storage stress test count option (#3321)

This commit is contained in:
あく 2023-12-28 19:15:07 +09:00 committed by GitHub
parent 2a0a54a224
commit 895694c624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ class Main(App):
self.parser_list.set_defaults(func=self.list)
self.parser_stress = self.subparsers.add_parser("stress", help="Stress test")
self.parser.add_argument(
self.parser_stress.add_argument(
"-c", "--count", type=int, default=10, help="Iteration count"
)
self.parser_stress.add_argument("flipper_path", help="Flipper path")