WIP add --debug
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 2 Oct 2023 18:22:47 +0000 (20:22 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 2 Oct 2023 18:22:47 +0000 (20:22 +0200)
Change-Id: Ie2894d371fbc956f07dbd71632a2f8ed2921b674
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
scripts/tizen/sd_fusing.py

index 17619d3ef3dbc9aedfe1dffdbd7518e3d51dcb4b..8a5458b52f0a8e19b2cb64924983b22a34e93f1f 100755 (executable)
@@ -648,6 +648,9 @@ if __name__ == '__main__':
                         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")
+    parser.add_argument("--debug", action='store_const', const='DEBUG',
+                        dest='log_level',
+                        help="set log level to DEBUG")
     parser.add_argument("-d", "--device", required=True,
                         help="device node or loopback backing file")
     parser.add_argument("--format", action="store_true",