[<prev] [next>] [day] [month] [year] [list]
Message-Id: <d7b189357e13804524e2e61c65817b9f9eb26a58.1661759353.git.baruch@tkos.co.il>
Date: Mon, 29 Aug 2022 10:49:13 +0300
From: Baruch Siach <baruch@...s.co.il>
To: Stephen Hemminger <stephen@...workplumber.org>,
Jiri Pirko <jiri@...dia.com>
Cc: netdev@...r.kernel.org, Baruch Siach <baruch@...s.co.il>
Subject: [PATCH iproute2] devlink: fix region-new usage message
The snapshot parameter is optional.
Signed-off-by: Baruch Siach <baruch@...s.co.il>
---
devlink/devlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devlink/devlink.c b/devlink/devlink.c
index 21f26246f91b..8bb6db006b30 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -8504,7 +8504,7 @@ static void cmd_region_help(void)
{
pr_err("Usage: devlink region show [ DEV/REGION ]\n");
pr_err(" devlink region del DEV/REGION snapshot SNAPSHOT_ID\n");
- pr_err(" devlink region new DEV/REGION snapshot SNAPSHOT_ID\n");
+ pr_err(" devlink region new DEV/REGION [ snapshot SNAPSHOT_ID ]\n");
pr_err(" devlink region dump DEV/REGION [ snapshot SNAPSHOT_ID ]\n");
pr_err(" devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS length LENGTH\n");
}
--
2.35.1
Powered by blists - more mailing lists