Make zpool attach -o ashift=... actually work
[zfs.git] / cmd / zpool / zpool_main.c
index a684f3b..cb0535a 100644 (file)
@@ -2889,7 +2889,7 @@ zpool_do_attach_or_replace(int argc, char **argv, int replacing)
        int ret;
 
        /* check options */
-       while ((c = getopt(argc, argv, "f")) != -1) {
+       while ((c = getopt(argc, argv, "fo:")) != -1) {
                switch (c) {
                case 'f':
                        force = B_TRUE;