]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
bcachefs: make usage output more consistent
authorAustin Seipp <aseipp@pobox.com>
Sun, 26 Nov 2017 07:07:34 +0000 (01:07 -0600)
committerAustin Seipp <aseipp@pobox.com>
Sun, 10 Dec 2017 22:03:25 +0000 (16:03 -0600)
Minor newline and spacing/alignment touchups make it all just a little easier to
read.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
bcachefs.c

index d57a46ea066ac416711157ede10e4f369af79bb9..5dae387db5a2566727f4694a8d7f339c5c619eb8 100644 (file)
@@ -29,44 +29,43 @@ static void usage(void)
             "usage: bcachefs <command> [<args>]\n"
             "\n"
             "Superblock commands:\n"
-            "  format           Format a new filesystem\n"
-            "  show-super       Dump superblock information to stdout\n"
+            "  format               Format a new filesystem\n"
+            "  show-super           Dump superblock information to stdout\n"
             "\n"
             "Repair:\n"
-            "  fsck             Check an existing filesystem for errors\n"
+            "  fsck                 Check an existing filesystem for errors\n"
             "\n"
             "Startup/shutdown, assembly of multi device filesystems:\n"
-            "  assemble         Assemble an existing multi device filesystem\n"
-            "  incremental      Incrementally assemble an existing multi device filesystem\n"
-            "  run              Start a partially assembled filesystem\n"
-            "  stop             Stop a running filesystem\n"
-
+            "  assemble             Assemble an existing multi device filesystem\n"
+            "  incremental          Incrementally assemble an existing multi device filesystem\n"
+            "  run                  Start a partially assembled filesystem\n"
+            "  stop                   Stop a running filesystem\n"
+            "\n"
             "Commands for managing a running filesystem:\n"
-            "  fs show          Show various information about a filesystem\n"
-            "  fs set           Modify filesystem options\n"
+            "  fs show              Show various information about a filesystem\n"
+            "  fs set               Modify filesystem options\n"
             "\n"
             "Commands for managing devices within a running filesystem:\n"
-            "  device add       Add a new device to an existing filesystem\n"
-            "  device remove    Remove a device from an existing filesystem\n"
-            "  device online    Readd an existing member to a filesystem\n"
-            "  device offline   Take a device offline, without removing it\n"
-            "  device evacuate  Migrate data off of a specific device\n"
-            "  device set-state Mark a device as failed\n"
+            "  device add           Add a new device to 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 offline       Take a device offline, without removing it\n"
+            "  device evacuate      Migrate data off of a specific device\n"
+            "  device set-state     Mark a device as failed\n"
             "\n"
             "Encryption:\n"
-            "  unlock           Unlock an encrypted filesystem prior to running/mounting\n"
-            "  set-passphrase   Change passphrase on an existing (unmounted) filesystem\n"
-            "  remove-passphrase Remove passphrase on an existing (unmounted) filesystem\n"
+            "  unlock               Unlock an encrypted filesystem prior to running/mounting\n"
+            "  set-passphrase       Change passphrase on an existing (unmounted) filesystem\n"
+            "  remove-passphrase    Remove passphrase on an existing (unmounted) filesystem\n"
             "\n"
             "Migrate:\n"
-            "  migrate          Migrate an existing filesystem to bcachefs, in place\n"
-            "  migrate-superblock\n"
-            "                   Add default superblock, after bcachefs migrate\n"
+            "  migrate              Migrate an existing filesystem to bcachefs, in place\n"
+            "  migrate-superblock   Add default superblock, after bcachefs migrate\n"
             "\n"
             "Debug:\n"
             "These commands work on offline, unmounted filesystems\n"
-            "  dump             Dump filesystem metadata to a qcow2 image\n"
-            "  list             List filesystem metadata in textual form\n");
+            "  dump                 Dump filesystem metadata to a qcow2 image\n"
+            "  list                 List filesystem metadata in textual form\n");
 }
 
 static char *full_cmd;