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'},