WIP use one -b to add one or more binaries
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 2 Oct 2023 17:38:41 +0000 (19:38 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 2 Oct 2023 17:38:41 +0000 (19:38 +0200)
Change-Id: I573d9939c302ff5df303fb9eee3b3bb2d82ab7d2
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
scripts/tizen/sd_fusing.py

index 1435f3c..17619d3 100755 (executable)
@@ -643,7 +643,8 @@ if __name__ == '__main__':
         ", ".join([v.long_name for k,v in TARGETS.items()]),
         __version__
     ))
-    parser.add_argument("-b", "--binary", action="append", dest="binaries",
+    parser.add_argument("-b", "--binary", action="extend", dest="binaries",
+                        nargs='+',
                         help="binary to flash, may be used multiple times")
     parser.add_argument("--create", action="store_true",
                         help="create the backing file and format the loopback device")