mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-23 22:12:51 +00:00
btrfs-progs: dump-tree: update help and docs regarding DFS/BFS
The default traversal has been switched to BFS due, update the documentation accordingly. Also fix the help text of the command that ommitted to mention the options. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
c003709191
commit
f55bdde2f9
@ -90,10 +90,14 @@ print info of the specified block only, can be specified multiple times
|
||||
--follow::::
|
||||
use with '-b', print all children tree blocks of '<block_num>'
|
||||
--dfs::::
|
||||
use depth-first search to print trees. (default) the nodes and leaves are
|
||||
(default up to 5.2)
|
||||
+
|
||||
use depth-first search to print trees, the nodes and leaves are
|
||||
intermixed in the output
|
||||
--bfs::::
|
||||
use breadth-first search to print trees. the nodes are printed before all
|
||||
(default since 5.3)
|
||||
+
|
||||
use breadth-first search to print trees, the nodes are printed before all
|
||||
leaves
|
||||
--noscan::::
|
||||
do not automatically scan the system for other devices from the same
|
||||
|
@ -204,6 +204,8 @@ static const char * const cmd_inspect_dump_tree_usage[] = {
|
||||
"-t|--tree <tree_id> print only tree with the given id (string or number)",
|
||||
"--follow use with -b, to show all children tree blocks of <block_num>",
|
||||
"--noscan do not scan the devices from the filesystem, use only the listed ones",
|
||||
"--bfs breadth-first traversal of the trees, print nodes, then leaves (default)",
|
||||
"--dfs depth-first traversal of the trees",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user