mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
bcachefs: increase indentation in help text
This is in preparation of adding the resize-journal command to the main help text, which would otherwise break the alignment. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
cec9ecc7e0
commit
9852948bad
54
bcachefs.c
54
bcachefs.c
@ -31,55 +31,55 @@ static void usage(void)
|
|||||||
"usage: bcachefs <command> [<args>]\n"
|
"usage: bcachefs <command> [<args>]\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Superblock commands:\n"
|
"Superblock commands:\n"
|
||||||
" format Format a new filesystem\n"
|
" format Format a new filesystem\n"
|
||||||
" show-super Dump superblock information to stdout\n"
|
" show-super Dump superblock information to stdout\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Repair:\n"
|
"Repair:\n"
|
||||||
" fsck Check an existing filesystem for errors\n"
|
" fsck Check an existing filesystem for errors\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Startup/shutdown, assembly of multi device filesystems:\n"
|
"Startup/shutdown, assembly of multi device filesystems:\n"
|
||||||
#if 0
|
#if 0
|
||||||
" assemble Assemble an existing multi device filesystem\n"
|
" assemble Assemble an existing multi device filesystem\n"
|
||||||
" incremental Incrementally assemble an existing multi device filesystem\n"
|
" incremental Incrementally assemble an existing multi device filesystem\n"
|
||||||
" run Start a partially assembled filesystem\n"
|
" run Start a partially assembled filesystem\n"
|
||||||
" stop Stop a running filesystem\n"
|
" stop Stop a running filesystem\n"
|
||||||
#endif
|
#endif
|
||||||
"\n"
|
"\n"
|
||||||
"Commands for managing a running filesystem:\n"
|
"Commands for managing a running filesystem:\n"
|
||||||
" fs usage Show disk usage\n"
|
" fs usage Show disk usage\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Commands for managing devices within a running filesystem:\n"
|
"Commands for managing devices within a running filesystem:\n"
|
||||||
" device add Add a new device to an existing filesystem\n"
|
" device add Add a new device to an existing filesystem\n"
|
||||||
" device remove Remove a device from an existing filesystem\n"
|
" device remove Remove a device from an existing filesystem\n"
|
||||||
" device online Re-add an existing member to a filesystem\n"
|
" device online Re-add an existing member to a filesystem\n"
|
||||||
" device offline Take a device offline, without removing it\n"
|
" device offline Take a device offline, without removing it\n"
|
||||||
" device evacuate Migrate data off of a specific device\n"
|
" device evacuate Migrate data off of a specific device\n"
|
||||||
" device set-state Mark a device as failed\n"
|
" device set-state Mark a device as failed\n"
|
||||||
" device resize Resize filesystem on a device\n"
|
" device resize Resize filesystem on a device\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Commands for managing filesystem data:\n"
|
"Commands for managing filesystem data:\n"
|
||||||
" data rereplicate Rereplicate degraded data\n"
|
" data rereplicate Rereplicate degraded data\n"
|
||||||
" data job Kick off low level data jobs\n"
|
" data job Kick off low level data jobs\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Encryption:\n"
|
"Encryption:\n"
|
||||||
" unlock Unlock an encrypted filesystem prior to running/mounting\n"
|
" unlock Unlock an encrypted filesystem prior to running/mounting\n"
|
||||||
" set-passphrase Change passphrase on an existing (unmounted) filesystem\n"
|
" set-passphrase Change passphrase on an existing (unmounted) filesystem\n"
|
||||||
" remove-passphrase Remove passphrase on an existing (unmounted) filesystem\n"
|
" remove-passphrase Remove passphrase on an existing (unmounted) filesystem\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Migrate:\n"
|
"Migrate:\n"
|
||||||
" migrate Migrate an existing filesystem to bcachefs, in place\n"
|
" migrate Migrate an existing filesystem to bcachefs, in place\n"
|
||||||
" migrate-superblock Add default superblock, after bcachefs migrate\n"
|
" migrate-superblock Add default superblock, after bcachefs migrate\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Commands for operating on files in a bcachefs filesystem:\n"
|
"Commands for operating on files in a bcachefs filesystem:\n"
|
||||||
" setattr Set various per file attributes\n"
|
" setattr Set various per file attributes\n"
|
||||||
"Debug:\n"
|
"Debug:\n"
|
||||||
"These commands work on offline, unmounted filesystems\n"
|
"These commands work on offline, unmounted filesystems\n"
|
||||||
" dump Dump filesystem metadata to a qcow2 image\n"
|
" dump Dump filesystem metadata to a qcow2 image\n"
|
||||||
" list List filesystem metadata in textual form\n"
|
" list List filesystem metadata in textual form\n"
|
||||||
" list_journal List contents of journal\n"
|
" list_journal List contents of journal\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Miscellaneous:\n"
|
"Miscellaneous:\n"
|
||||||
" version Display the version of the invoked bcachefs tool\n");
|
" version Display the version of the invoked bcachefs tool\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *full_cmd;
|
static char *full_cmd;
|
||||||
|
Loading…
Reference in New Issue
Block a user