diff mbox series

kpartx_id: Add missing 3rd option in usage

Message ID 20221216134655.167761-1-standby24x7@gmail.com (mailing list archive)
State New, archived
Headers show
Series kpartx_id: Add missing 3rd option in usage | expand

Commit Message

Masanari Iida Dec. 16, 2022, 1:46 p.m. UTC
This patch adds missing 3rd option in kpatx_id usage.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 kpartx/kpartx_id | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin Wilck Dec. 19, 2022, 7:37 a.m. UTC | #1
On Fri, 2022-12-16 at 22:46 +0900, Masanari Iida wrote:
> This patch adds missing 3rd option in kpatx_id usage.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>

Reveiewed-by: Martin Wilck <mwilck@suse.com>

> ---
>  kpartx/kpartx_id | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kpartx/kpartx_id b/kpartx/kpartx_id
> index 18732e7cbbaa..4672927e93e1 100755
> --- a/kpartx/kpartx_id
> +++ b/kpartx/kpartx_id
> @@ -28,7 +28,7 @@ MINOR=$2
>  UUID=$3
>  
>  if [ -z "$MAJOR" -o -z "$MINOR" ]; then
> -    echo "usage: $0 major minor"
> +    echo "usage: $0 major minor UUID"
>      exit 1;
>  fi
>  

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
diff mbox series

Patch

diff --git a/kpartx/kpartx_id b/kpartx/kpartx_id
index 18732e7cbbaa..4672927e93e1 100755
--- a/kpartx/kpartx_id
+++ b/kpartx/kpartx_id
@@ -28,7 +28,7 @@  MINOR=$2
 UUID=$3
 
 if [ -z "$MAJOR" -o -z "$MINOR" ]; then
-    echo "usage: $0 major minor"
+    echo "usage: $0 major minor UUID"
     exit 1;
 fi