From 5498e0bc46b6b60cfad1fda2f9d6ec3edee75def Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Thu, 23 May 2013 13:57:15 +0100 Subject: [PATCH] [thin_check] fluff --- features/thin_check.feature | 3 +++ thin-provisioning/thin_check.cc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/features/thin_check.feature b/features/thin_check.feature index 32c1d88..2047eff 100644 --- a/features/thin_check.feature +++ b/features/thin_check.feature @@ -25,6 +25,9 @@ Feature: thin_check {-q|--quiet} {-h|--help} {-V|--version} + {--super-block-only} + {--skip-mappings} + {--ignore-non-fatal-errors} """ Scenario: print help diff --git a/thin-provisioning/thin_check.cc b/thin-provisioning/thin_check.cc index 9ec4004..1b58ffa 100644 --- a/thin-provisioning/thin_check.cc +++ b/thin-provisioning/thin_check.cc @@ -323,8 +323,8 @@ int main(int argc, char **argv) int c; flags fs; bool quiet = false; - const char shortopts[] = "qhV"; - const struct option longopts[] = { + char const shortopts[] = "qhV"; + option const longopts[] = { { "quiet", no_argument, NULL, 'q'}, { "help", no_argument, NULL, 'h'}, { "version", no_argument, NULL, 'V'},