From bce2b9899b011960355289c42c263ce0246e5f37 Mon Sep 17 00:00:00 2001 From: Michel Machado Date: Fri, 15 May 2015 12:27:40 -0400 Subject: [PATCH] f3probe: --debug-block-order and --debug-keep-file This patch just enables debugging mode when parameters --debug-block-order and --debug-keep-file are used; This is equivalent to automatically adding --debug. It was an expected behavior that wasn't implemented. --- f3probe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/f3probe.c b/f3probe.c index 8a2ed45..fa19157 100644 --- a/f3probe.c +++ b/f3probe.c @@ -163,10 +163,12 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) argp_error(state, "Block order must be in the interval [9, 20] or be zero"); args->block_order = ll; + args->debug = true; break; case 'k': args->keep_file = true; + args->debug = true; break; case 'u':