Make (no)ro an alias for (no)readonly

This commit is contained in:
Poul-Henning Kamp 2018-12-16 18:10:55 +00:00
parent 1309bed839
commit 96a3750174

View File

@ -193,6 +193,10 @@ main(int argc, char **argv)
mdio.md_options |= MD_READONLY;
else if (!strcmp(optarg, "noreadonly"))
mdio.md_options &= ~MD_READONLY;
else if (!strcmp(optarg, "ro"))
mdio.md_options |= MD_READONLY;
else if (!strcmp(optarg, "noro"))
mdio.md_options &= ~MD_READONLY;
else if (!strcmp(optarg, "reserve"))
mdio.md_options |= MD_RESERVE;
else if (!strcmp(optarg, "noreserve"))