chiark / gitweb /
cryptsetup: accept both "read-only" and "readonly" spellings
authorMichal Schmidt <mschmidt@redhat.com>
Thu, 31 Jan 2013 10:03:09 +0000 (11:03 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 31 Jan 2013 18:57:56 +0000 (19:57 +0100)
commit18cf1a1be5ae6985f211ec6f02504506da36b223
treec237ad09428695bac5cde9bb541436e90d5379bf
parent682cfdff697707dbe29c9c1907a7c8c452ffb397
cryptsetup: accept both "read-only" and "readonly" spellings

Mukund Sivaraman pointed out that cryptsetup(5) mentions the "read-only"
option, while the code understands "readonly".

We could just fix the manpage, but for consistency in naming of
multi-word options it would be prettier to have "read-only". So let's
accept both spellings.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=903463
man/crypttab.xml
src/cryptsetup/cryptsetup.c