From ffa4e18f557d39e5d4b2357a40e073607e0c98a0 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 26 Mar 2012 18:14:20 +0200 Subject: [PATCH 04/10] btrfs-progs: document csize in manpage Signed-off-by: David Sterba --- btrfs_cmds.c | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/btrfs_cmds.c b/btrfs_cmds.c index 0a741f0..17c3f8e 100644 --- a/btrfs_cmds.c +++ b/btrfs_cmds.c @@ -2090,6 +2090,23 @@ out: return ret; } +/**** man: btrfs filesystem csize + * + * \Bbtrfs\b \Bfilesystem csize [-s \Istart\i\B] [-e \Iend\i\B] + * + * Read regular and compressed size of extents in the range \I[start,end)\i. + * + * Read regular and compressed size of extents in the range \I[start,end)\i. + * + * \B-s\b\I start\i + * range start inclusive, accepts K/M/G modifiers + * \B-e\b\I end\i + * range end exclusive, accepts K/M/G modifiers + * + * No range specified will read the whole file, no end of range reads up to + * the end of file. + ****/ + int do_compr_size(int argc, char **argv) { int ret; -- 1.7.6.233.gd79bc