From 47a2f640e7439409721af60b8bec0e5fe0afeed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BlueM=C3=B6hre?= Date: Wed, 10 Dec 2025 01:16:02 +0100 Subject: [PATCH] add probe command to the usage output (#27) --- cmdline/snapraid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmdline/snapraid.c b/cmdline/snapraid.c index 3e94828a..fe965624 100644 --- a/cmdline/snapraid.c +++ b/cmdline/snapraid.c @@ -38,7 +38,7 @@ void usage(void) { version(); - printf("Usage: " PACKAGE " status|diff|sync|scrub|list|dup|up|down|touch|smart|pool|check|fix [options]\n"); + printf("Usage: " PACKAGE " status|diff|sync|scrub|list|dup|up|down|probe|touch|smart|pool|check|fix [options]\n"); printf("\n"); printf("Commands:\n"); printf(" status Print the status of the array\n"); @@ -49,6 +49,7 @@ void usage(void) printf(" dup Find duplicate files\n"); printf(" up Spin-up the array\n"); printf(" down Spin-down the array\n"); + printf(" probe Show the spinning status of all disks\n"); printf(" touch Add non-zero ns timestamps to files\n"); printf(" smart SMART attributes of the array\n"); printf(" pool Create or update the virtual view of the array\n");