diff --git a/scripts/dbgblock.py b/scripts/dbgblock.py index 9329dd24..a8f4886b 100755 --- a/scripts/dbgblock.py +++ b/scripts/dbgblock.py @@ -159,7 +159,7 @@ if __name__ == "__main__": type=rbydaddr, help="Block address.") parser.add_argument( - '-B', '--block-size', + '-b', '--block-size', type=bdgeom, help="Block size/geometry in bytes.") parser.add_argument( diff --git a/scripts/dbgbmap.py b/scripts/dbgbmap.py index c00aef1e..ac43d9cb 100755 --- a/scripts/dbgbmap.py +++ b/scripts/dbgbmap.py @@ -1758,7 +1758,7 @@ if __name__ == "__main__": type=rbydaddr, help="Block address of the mroots. Defaults to 0x{0,1}.") parser.add_argument( - '-B', '--block-size', + '-b', '--block-size', type=bdgeom, help="Block size/geometry in bytes.") parser.add_argument( @@ -1766,7 +1766,7 @@ if __name__ == "__main__": type=lambda x: int(x, 0), help="Block count in blocks.") parser.add_argument( - '-M', '--mleaf-weight', + '-m', '--mleaf-weight', type=lambda x: int(x, 0), help="Maximum weight of mdirs for mid decoding. Defaults to a " "block_size derived value.") @@ -1790,15 +1790,15 @@ if __name__ == "__main__": for x in x.split(',')), help="Show this many bytes, may be a range.") parser.add_argument( - '-m', '--mdirs', + '-M', '--mdirs', action='store_true', help="Render mdir blocks.") parser.add_argument( - '-b', '--btrees', + '-B', '--btrees', action='store_true', help="Render btree blocks.") parser.add_argument( - '-d', '--datas', + '-D', '--datas', action='store_true', help="Render data blocks.") parser.add_argument( diff --git a/scripts/dbgbtree.py b/scripts/dbgbtree.py index 8c3648bd..bcc643d8 100755 --- a/scripts/dbgbtree.py +++ b/scripts/dbgbtree.py @@ -1012,7 +1012,7 @@ if __name__ == "__main__": type=rbydaddr, help="Block address of the roots of the tree.") parser.add_argument( - '-B', '--block-size', + '-b', '--block-size', type=bdgeom, help="Block size/geometry in bytes.") parser.add_argument( @@ -1045,7 +1045,7 @@ if __name__ == "__main__": action='store_true', help="Show the underlying rbyd trees.") parser.add_argument( - '-b', '--btree', + '-B', '--btree', action='store_true', help="Show the underlying B-tree.") parser.add_argument( diff --git a/scripts/dbglfs.py b/scripts/dbglfs.py index dd351f25..84c74917 100755 --- a/scripts/dbglfs.py +++ b/scripts/dbglfs.py @@ -2177,7 +2177,7 @@ if __name__ == "__main__": type=rbydaddr, help="Block address of the mroots. Defaults to 0x{0,1}.") parser.add_argument( - '-B', '--block-size', + '-b', '--block-size', type=bdgeom, help="Block size/geometry in bytes.") parser.add_argument( @@ -2185,7 +2185,7 @@ if __name__ == "__main__": type=lambda x: int(x, 0), help="Block count in blocks.") parser.add_argument( - '-M', '--mleaf-weight', + '-m', '--mleaf-weight', type=lambda x: int(x, 0), help="Maximum weight of mdirs for mid decoding. Defaults to a " "block_size derived value.") @@ -2245,7 +2245,7 @@ if __name__ == "__main__": action='store_true', help="Show the underlying rbyd trees.") parser.add_argument( - '-b', '--btree', + '-B', '--btree', action='store_true', help="Show the underlying B-tree.") parser.add_argument( diff --git a/scripts/dbgmtree.py b/scripts/dbgmtree.py index 4f7333c0..1bd9ac63 100755 --- a/scripts/dbgmtree.py +++ b/scripts/dbgmtree.py @@ -1664,7 +1664,7 @@ if __name__ == "__main__": type=rbydaddr, help="Block address of the mroots. Defaults to 0x{0,1}.") parser.add_argument( - '-B', '--block-size', + '-b', '--block-size', type=bdgeom, help="Block size/geometry in bytes.") parser.add_argument( @@ -1672,7 +1672,7 @@ if __name__ == "__main__": type=lambda x: int(x, 0), help="Block count in blocks.") parser.add_argument( - '-M', '--mleaf-weight', + '-m', '--mleaf-weight', type=lambda x: int(x, 0), help="Maximum weight of mdirs for mid decoding. Defaults to a " "block_size derived value.") @@ -1698,7 +1698,7 @@ if __name__ == "__main__": action='store_true', help="Show the underlying rbyd trees.") parser.add_argument( - '-b', '--btree', + '-B', '--btree', action='store_true', help="Show the underlying B-tree.") parser.add_argument( diff --git a/scripts/dbgrbyd.py b/scripts/dbgrbyd.py index 7ad94112..b1041c2a 100755 --- a/scripts/dbgrbyd.py +++ b/scripts/dbgrbyd.py @@ -1037,7 +1037,7 @@ if __name__ == "__main__": type=rbydaddr, help="Block address of metadata blocks.") parser.add_argument( - '-B', '--block-size', + '-b', '--block-size', type=bdgeom, help="Block size/geometry in bytes.") parser.add_argument( diff --git a/scripts/tracebd.py b/scripts/tracebd.py index 75720cfd..c51227ff 100755 --- a/scripts/tracebd.py +++ b/scripts/tracebd.py @@ -1057,7 +1057,7 @@ if __name__ == "__main__": nargs='?', help="Path to read from.") parser.add_argument( - '-B', '--block-size', + '-b', '--block-size', type=bdgeom, help="Block size/geometry in bytes.") parser.add_argument( @@ -1065,7 +1065,7 @@ if __name__ == "__main__": type=lambda x: int(x, 0), help="Block count in blocks.") parser.add_argument( - '-C', '--block-cycles', + '-c', '--block-cycles', type=lambda x: int(x, 0), help="Assumed maximum number of erase cycles when measuring wear.") parser.add_argument( @@ -1172,7 +1172,7 @@ if __name__ == "__main__": action='store_true', help="Render as a space-filling Z-curve.") parser.add_argument( - '-c', '--coalesce', + '-S', '--coalesce', type=lambda x: int(x, 0), help="Number of operations to coalesce together.") parser.add_argument(