[Ocfs2-tools-devel] [TRIVIAL] show "frag" in correct sorted order
Goldwyn Rodrigues
rgoldwyn at gmail.com
Mon Feb 15 17:49:40 PST 2010
Finding the frag help in bottom of a sorted list of commands can be
confusing. Put it in the right position.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
---
diff --git a/debugfs.ocfs2/commands.c b/debugfs.ocfs2/commands.c
index 94da555..1c19ab4 100644
--- a/debugfs.ocfs2/commands.c
+++ b/debugfs.ocfs2/commands.c
@@ -845,6 +845,7 @@ static void do_help (char **args)
printf ("encode <filespec>\t\t\tShow lock name\n");
printf ("extent <block#>\t\t\t\tShow extent block\n");
printf ("findpath <block#>\t\t\tList one pathname of the inode/lockname\n");
+ printf ("frag <filespec>\t\t\tShow inode extents / clusters ratio\n");
printf ("fs_locks [-f <file>] [-l] [-B]\t\t\tShow live fs locking state\n");
printf ("group <block#>\t\t\t\tShow chain group\n");
printf ("hb\t\t\t\t\tShows the used heartbeat blocks\n");
@@ -864,7 +865,6 @@ static void do_help (char **args)
printf ("stat <filespec>\t\t\t\tShow inode\n");
printf ("stats [-h]\t\t\t\tShow superblock\n");
printf ("xattr [-v] <filespec>\t\t\tShow Extended Attributes\n");
- printf ("frag <filespec>\t\t\tShow inode extents / clusters ratio\n");
}
/*
More information about the Ocfs2-tools-devel
mailing list