Port cryptsetup --new option to CRYPT_ARG_ALIAS type.

This commit is contained in:
Ondrej Kozina
2022-03-29 12:54:49 +02:00
parent e2a5af9e64
commit 2b42968e92
2 changed files with 1 additions and 4 deletions

View File

@@ -3074,9 +3074,6 @@ static void basic_options_cb(poptContext popt_context,
_("Key size must be a multiple of 8 bits"),
poptGetInvocationName(popt_context));
break;
case OPT_NEW_ID:
ARG_SET_TRUE(OPT_ENCRYPT_ID);
break;
case OPT_REDUCE_DEVICE_SIZE_ID:
if (ARG_UINT64(OPT_REDUCE_DEVICE_SIZE_ID) > 1024 * 1024 * 1024)
usage(popt_context, EXIT_FAILURE, _("Maximum device reduce size is 1 GiB."),