rteval-loads/SOURCES/0028-stress-ng-fix-long-for...

31 lines
1000 B
Diff

From b0a98280be341438efeb548312dde8f87e342a30 Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.king@canonical.com>
Date: Fri, 22 May 2020 12:01:12 +0100
Subject: [PATCH 28/28] stress-ng: fix long form if -x option, use "exclude"
instead of "list"
Fix the long form of -x, use --exclude. Thanks to Vegard Nossum for
spotting this.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
stress-ng.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stress-ng.c b/stress-ng.c
index dcfc1991c216..1872ee1bf1bb 100644
--- a/stress-ng.c
+++ b/stress-ng.c
@@ -962,7 +962,7 @@ static const stress_help_t help_generic[] = {
{ NULL, "verify", "verify results (not available on all tests)" },
{ "V", "version", "show version" },
{ "Y", "yaml file", "output results to YAML formatted filed" },
- { "x", "list", "list of stressors to exclude (not run)" },
+ { "x", "exclude", "list of stressors to exclude (not run)" },
{ NULL, NULL, NULL }
};
--
2.21.3