X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcryptsetup.c;h=e9693736e5ddc2564471e646be480feb4f746495;hb=ef21960600d9a76410c41e50cba87e0b61075838;hp=82fcf62547432bbb06aab2413e3cafb7b296dd74;hpb=a4585423fd38508084178391b0f420dd57f7260a;p=platform%2Fupstream%2Fcryptsetup.git diff --git a/src/cryptsetup.c b/src/cryptsetup.c index 82fcf62..e969373 100644 --- a/src/cryptsetup.c +++ b/src/cryptsetup.c @@ -1214,7 +1214,7 @@ static struct action_type { const char *arg_desc; const char *desc; } action_types[] = { - { "open", action_open, 1, 1, N_(" []"),N_("open device as mapping ") }, + { "open", action_open, 1, 1, N_(" [--type ] []"),N_("open device as mapping ") }, { "close", action_close, 1, 1, N_(""), N_("close device (remove mapping)") }, { "resize", action_resize, 1, 1, N_(""), N_("resize active device") }, { "status", action_status, 1, 0, N_(""), N_("show device status") }, @@ -1256,6 +1256,10 @@ static void help(poptContext popt_context, log_std("\t%s %s - %s\n", action->type, _(action->arg_desc), _(action->desc)); log_std(_("\n" + "You can also use old syntax aliases:\n" + "\topen: create (plainOpen), luksOpen, loopaesOpen, tcryptOpen\n" + "\tclose: remove (plainClose), luksClose, loopaesClose, tcryptClose\n")); + log_std(_("\n" " is the device to create under %s\n" " is the encrypted device\n" " is the LUKS key slot number to modify\n"