Skip to content

Commit a83c276

Browse files
committed
btrfs-progs: convert: update help format
Copy the style of util-linux utilities: single letter option + ", " + long option name. Signed-off-by: David Sterba <dsterba@suse.com>
1 parent a82ebd3 commit a83c276

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

convert/main.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,18 +1860,18 @@ static const char * const convert_usage[] = {
18601860
"In-place conversion from other filesystems to BTRFS",
18611861
"",
18621862
"Options:",
1863-
OPTLINE("-d|--no-datasum", "disable data checksum, sets NODATASUM"),
1864-
OPTLINE("-i|--no-xattr", "ignore xattrs and ACLs"),
1865-
OPTLINE("-n|--no-inline", "disable inlining of small files to metadata"),
1863+
OPTLINE("-d, --no-datasum", "disable data checksum, sets NODATASUM"),
1864+
OPTLINE("-i, --no-xattr", "ignore xattrs and ACLs"),
1865+
OPTLINE("-n, --no-inline", "disable inlining of small files to metadata"),
18661866
OPTLINE("--csum TYPE", ""),
18671867
OPTLINE("--checksum TYPE", "checksum algorithm to use (default: crc32c)"),
1868-
OPTLINE("-N|--nodesize SIZE", "set filesystem metadata nodesize"),
1869-
OPTLINE("-r|--rollback", "roll back to the original filesystem"),
1870-
OPTLINE("-l|--label LABEL", "set filesystem label"),
1871-
OPTLINE("-L|--copy-label", "use label from converted filesystem"),
1868+
OPTLINE("-N, --nodesize SIZE", "set filesystem metadata nodesize"),
1869+
OPTLINE("-r, --rollback", "roll back to the original filesystem"),
1870+
OPTLINE("-l, --label LABEL", "set filesystem label"),
1871+
OPTLINE("-L, --copy-label", "use label from converted filesystem"),
18721872
OPTLINE("--uuid SPEC", "new, copy or user-defined conforming UUID"),
1873-
OPTLINE("-p|--progress", "show converting progress (default)"),
1874-
OPTLINE("-O|--features LIST", "comma separated list of filesystem features"),
1873+
OPTLINE("-p, --progress", "show converting progress (default)"),
1874+
OPTLINE("-O, --features LIST", "comma separated list of filesystem features"),
18751875
OPTLINE("--no-progress", "show only overview, not the detailed progress"),
18761876
"",
18771877
"General:",

0 commit comments

Comments
 (0)