From df32211bdac8f5404ec90db0a3501d4cbdb9737b Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Mon, 2 Oct 2023 00:27:14 -0500 Subject: [PATCH] Changed -t/--dtree to -f/--files in dbglfs.py This flag makes more sense to me and avoids conflicts with the -d/--delta flag used for gstate. --- scripts/dbglfs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/dbglfs.py b/scripts/dbglfs.py index dd2ed6a2..c9775b92 100755 --- a/scripts/dbglfs.py +++ b/scripts/dbglfs.py @@ -1094,7 +1094,7 @@ def main(disk, mroots=None, *, corrupted = True # are we going to end up rendering the dtree? - dtree = args.get('dtree') or not ( + dtree = args.get('files') or not ( args.get('config') or args.get('gstate')) # do a pass to find the width that fits file names+tree, this @@ -1436,9 +1436,9 @@ if __name__ == "__main__": action='store_true', help="Show the gdelta that xors into the global-state.") parser.add_argument( - '-t', '--dtree', '--tree', + '-f', '--files', action='store_true', - help="Show the directory tree (default).") + help="Show the files and directory tree (default).") parser.add_argument( '-A', '--attrs', action='store_true',