sbin/hammer2: Align usage() output
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 18 Aug 2019 15:40:11 +0000 (00:40 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 18 Aug 2019 15:40:11 +0000 (00:40 +0900)
sbin/hammer2/main.c

index 21aee75..4c81828 100644 (file)
@@ -511,76 +511,76 @@ usage(int code)
                "    -u uuid            uuid for pfs-create\n"
                "    -m mem[k,m,g]      buffer memory (bulkfree)\n"
                "\n"
-               "    cleanup [<path>]             "
+               "    cleanup [<path>]                  "
                        "Run cleanup passes\n"
-               "    connect <target>             "
+               "    connect <target>                  "
                        "Add cluster link\n"
-               "    destroy <path>...            "
+               "    destroy <path>...                 "
                        "Destroy directory entries (only use if inode bad)\n"
-               "    destroy-inum <inum>...       "
+               "    destroy-inum <inum>...            "
                        "Destroy inodes (only use if inode bad)\n"
-               "    disconnect <target>          "
+               "    disconnect <target>               "
                        "Del cluster link\n"
-               "    info [<devpath>...]          "
+               "    info [<devpath>...]               "
                        "Info on all offline or online H2 partitions\n"
-               "    mountall [<devpath>...]      "
+               "    mountall [<devpath>...]           "
                        "Mount @LOCAL for all H2 partitions\n"
-               "    status [<path>...]           "
+               "    status [<path>...]                "
                        "Report active cluster status\n"
-               "    hash [<filename>...]         "
+               "    hash [<filename>...]              "
                        "Print directory hash (key) for name\n"
-               "    dhash [<filename>...]        "
+               "    dhash [<filename>...]             "
                        "Print data hash for long directory entry\n"
-               "    pfs-list [<path>...]         "
+               "    pfs-list [<path>...]              "
                        "List PFSs\n"
-               "    pfs-clid <label>             "
+               "    pfs-clid <label>                  "
                        "Print cluster id for specific PFS\n"
-               "    pfs-fsid <label>             "
+               "    pfs-fsid <label>                  "
                        "Print private id for specific PFS\n"
-               "    pfs-create <label>           "
+               "    pfs-create <label>                "
                        "Create a PFS\n"
-               "    pfs-delete <label>           "
+               "    pfs-delete <label>                "
                        "Destroy a PFS\n"
-               "    snapshot <path> [<label>]    "
+               "    snapshot <path> [<label>]         "
                        "Snapshot a PFS or directory\n"
-               "    snapshot-debug <path> [<label>]    "
+               "    snapshot-debug <path> [<label>]   "
                        "Snapshot without filesystem sync\n"
-               "    service                      "
+               "    service                           "
                        "Start service daemon\n"
-               "    stat [<path>...]             "
+               "    stat [<path>...]                  "
                        "Return inode quota & config\n"
-               "    leaf                         "
+               "    leaf                              "
                        "Start pfs leaf daemon\n"
-               "    shell [<host>]               "
+               "    shell [<host>]                    "
                        "Connect to debug shell\n"
-               "    debugspan <target>           "
+               "    debugspan <target>                "
                        "Connect to target, run CONN/SPAN\n"
-               "    rsainit [<path>]             "
+               "    rsainit [<path>]                  "
                        "Initialize rsa fields\n"
-               "    show <devpath>               "
+               "    show <devpath>                    "
                        "Raw hammer2 media dump for topology\n"
-               "    freemap <devpath>            "
+               "    freemap <devpath>                 "
                        "Raw hammer2 media dump for freemap\n"
-               "    setcomp <comp[:level]> <path>... "
+               "    setcomp <comp[:level]> <path>...  "
                        "Set comp algo {none, autozero, lz4, zlib} & level\n"
-               "    setcheck <check> <path>...       "
+               "    setcheck <check> <path>...        "
                        "Set check algo {none, crc32, xxhash64, sha192}\n"
-               "    clrcheck [<path>...]         "
+               "    clrcheck [<path>...]              "
                        "Clear check code override\n"
-               "    setcrc32 [<path>...]         "
+               "    setcrc32 [<path>...]              "
                        "Set check algo to crc32\n"
-               "    setxxhash64 [<path>...]      "
+               "    setxxhash64 [<path>...]           "
                        "Set check algo to xxhash64\n"
-               "    setsha192 [<path>...]        "
+               "    setsha192 [<path>...]             "
                        "Set check algo to sha192\n"
-               "    bulkfree <path>              "
+               "    bulkfree <path>                   "
                        "Run bulkfree pass\n"
-               "    printinode <path>            "
+               "    printinode <path>                 "
                        "Dump inode\n"
-               "    dumpchain [<path> [<chnflags>]]  "
+               "    dumpchain [<path> [<chnflags>]]   "
                        "Dump in-memory chain topology (ONFLUSH flag is 0x200)\n"
 #if 0
-               "    bulkfree-async path          "
+               "    bulkfree-async path               "
                        "Run bulkfree pass asynchronously\n"
 #endif
        );