From 692856b4f99981c717fa554ab278c6b340a0e602 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Mon, 26 Jan 2026 22:49:42 +0100 Subject: [PATCH] Fix help of -d option --- cmdline/snapraid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/snapraid.c b/cmdline/snapraid.c index 6111d477..04aa43b2 100644 --- a/cmdline/snapraid.c +++ b/cmdline/snapraid.c @@ -59,7 +59,7 @@ void usage(const char* conf) printf("Options:\n"); printf(" " SWITCH_GETOPT_LONG("-c, --conf FILE ", "-c") " Configuration file\n"); printf(" " SWITCH_GETOPT_LONG("-f, --filter PATTERN ", "-f") " Process only files matching the pattern\n"); - printf(" " SWITCH_GETOPT_LONG("-d, --filter-disk NAME", "-f") " Process only files in the specified disk\n"); + printf(" " SWITCH_GETOPT_LONG("-d, --filter-disk NAME", "-d") " Process only files in the specified disk\n"); printf(" " SWITCH_GETOPT_LONG("-m, --filter-missing ", "-m") " Process only missing/deleted files\n"); printf(" " SWITCH_GETOPT_LONG("-e, --filter-error ", "-e") " Process only files with errors\n"); printf(" " SWITCH_GETOPT_LONG("-p, --plan PLAN ", "-p") " Define a scrub plan or percentage\n");