diff options
author | Gabriel <g2p.code@gmail.com> | 2014-04-16 23:16:38 +0200 |
---|---|---|
committer | Gabriel <g2p.code@gmail.com> | 2014-04-16 23:19:14 +0200 |
commit | 4b1766801b609949c73d9ee6d68f7fdf43ddc4be (patch) | |
tree | 672399d8f48388205f9b3f4593a6d282d27ba601 | |
parent | 5a3a06ee2162946e54e171704905e267fb08ab8b (diff) |
Also accept flags with dashes
--data-offset didn't match the documentation.
Follow gnu style and accept dashes everywhere.
-rw-r--r-- | make-bcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/make-bcache.c b/make-bcache.c index 63285ef..c626eae 100644 --- a/make-bcache.c +++ b/make-bcache.c @@ -359,7 +359,9 @@ int main(int argc, char **argv) { "wipe-bcache", 0, &wipe_bcache, 1 }, { "discard", 0, &discard, 1 }, { "cache_replacement_policy", 1, NULL, 'p' }, + { "cache-replacement-policy", 1, NULL, 'p' }, { "data_offset", 1, NULL, 'o' }, + { "data-offset", 1, NULL, 'o' }, { "cset-uuid", 1, NULL, 'u' }, { "help", 0, NULL, 'h' }, { NULL, 0, NULL, 0 }, |