diff mbox series

[OSSTEST,2/5] mg-schema-update: improve an error message

Message ID 20210913163115.12749-2-iwj@xenproject.org (mailing list archive)
State New, archived
Headers show
Series [OSSTEST,1/5] copyright notices: Add many missing notices | expand

Commit Message

Ian Jackson Sept. 13, 2021, 4:31 p.m. UTC
Signed-off-by: Ian Jackson <iwj@xenproject.org>
---
 mg-schema-update | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/mg-schema-update b/mg-schema-update
index f22ed63a..fb754bed 100755
--- a/mg-schema-update
+++ b/mg-schema-update
@@ -268,5 +268,5 @@  die "need operation\n" unless @ARGV;
 my $subcmd= shift @ARGV;
 $subcmd =~ s/-/_/g;
 my $subcmdproc = ${*::}{"cmd_$subcmd"};
-die "unknown subcommand" unless $subcmdproc;
+die "unknown subcommand $subcmd" unless $subcmdproc;
 $subcmdproc->();