]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
Fix format -g to create a disk group
authorTim Schlueter <schlueter.tim@linux.com>
Sun, 13 Jan 2019 22:25:10 +0000 (14:25 -0800)
committerTim Schlueter <schlueter.tim@linux.com>
Mon, 14 Jan 2019 02:53:37 +0000 (18:53 -0800)
cmd_format.c

index bf17558103ee7433c0fa16430627c59ffb8410cb..cffb8dc1494a8cd7ca2e20fe442b5e46b2889df4 100644 (file)
@@ -122,7 +122,7 @@ int cmd_format(int argc, char *argv[])
        struct bch_opts fs_opts = bch2_parse_opts(fs_opt_strs);
 
        while ((opt = getopt_long(argc, argv,
-                                 "-L:U:fqh",
+                                 "-L:U:g:fqh",
                                  format_opts,
                                  NULL)) != -1)
                switch (opt) {