btrfs-progs: mkfs, align help strings

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
David Sterba 2015-02-02 15:32:11 +01:00
parent bc400acbff
commit 3f312d500b

30
mkfs.c
View File

@ -272,21 +272,21 @@ static void print_usage(void)
{
fprintf(stderr, "usage: mkfs.btrfs [options] dev [ dev ... ]\n");
fprintf(stderr, "options:\n");
fprintf(stderr, "\t -A --alloc-start the offset to start the FS\n");
fprintf(stderr, "\t -b --byte-count total number of bytes in the FS\n");
fprintf(stderr, "\t -d --data data profile, raid0, raid1, raid5, raid6, raid10, dup or single\n");
fprintf(stderr, "\t -f --force force overwrite of existing filesystem\n");
fprintf(stderr, "\t -l --leafsize size of btree leaves\n");
fprintf(stderr, "\t -L --label set a label\n");
fprintf(stderr, "\t -m --metadata metadata profile, values like data profile\n");
fprintf(stderr, "\t -M --mixed mix metadata and data together\n");
fprintf(stderr, "\t -n --nodesize size of btree nodes\n");
fprintf(stderr, "\t -s --sectorsize min block allocation (may not mountable by current kernel)\n");
fprintf(stderr, "\t -r --rootdir the source directory\n");
fprintf(stderr, "\t -K --nodiscard do not perform whole device TRIM\n");
fprintf(stderr, "\t -O --features comma separated list of filesystem features\n");
fprintf(stderr, "\t -U --uuid specify the filesystem UUID\n");
fprintf(stderr, "\t -V --version print the mkfs.btrfs version and exit\n");
fprintf(stderr, "\t-A|--alloc-start the offset to start the FS\n");
fprintf(stderr, "\t-b|--byte-count total number of bytes in the FS\n");
fprintf(stderr, "\t-d|--data data profile, raid0, raid1, raid5, raid6, raid10, dup or single\n");
fprintf(stderr, "\t-f|--force force overwrite of existing filesystem\n");
fprintf(stderr, "\t-l|--leafsize size of btree leaves\n");
fprintf(stderr, "\t-L|--label set a label\n");
fprintf(stderr, "\t-m|--metadata metadata profile, values like data profile\n");
fprintf(stderr, "\t-M|--mixed mix metadata and data together\n");
fprintf(stderr, "\t-n|--nodesize size of btree nodes\n");
fprintf(stderr, "\t-s|--sectorsize min block allocation (may not mountable by current kernel)\n");
fprintf(stderr, "\t-r|--rootdir the source directory\n");
fprintf(stderr, "\t-K|--nodiscard do not perform whole device TRIM\n");
fprintf(stderr, "\t-O|--features comma separated list of filesystem features\n");
fprintf(stderr, "\t-U|--uuid specify the filesystem UUID\n");
fprintf(stderr, "\t-V|--version print the mkfs.btrfs version and exit\n");
fprintf(stderr, "%s\n", PACKAGE_STRING);
exit(1);
}