@@ -86,10 +86,14 @@ struct extent_buffer *debug_read_block(struct btrfs_root *root, u64 bytenr,
static void print_usage(void)
{
fprintf(stderr, "usage: btrfs-map-logical [options] device\n");
- fprintf(stderr, "\t-l Logical extent to map\n");
- fprintf(stderr, "\t-c Copy of the extent to read (usually 1 or 2)\n");
- fprintf(stderr, "\t-o Output file to hold the extent\n");
- fprintf(stderr, "\t-b Number of bytes to read\n");
+ fprintf(stderr,
+ "\t-l|--logical <logical_num> Logical extent to map\n");
+ fprintf(stderr,
+ "\t-c|--copy <copy> Copy of the extent to read (usually 1 or 2)\n");
+ fprintf(stderr,
+ "\t-o|--output <filename> Output file to hold the extent\n");
+ fprintf(stderr,
+ "\t-b|--bytes <bytes> Number of bytes to read\n");
exit(1);
}