From 3c0d008c79baadcbc455c7c46fa0673219c8333a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 27 Feb 2008 19:05:35 +0100 Subject: [PATCH] When a wrong argument is passed, that argument should be listed (Closes: #468201). --- functions/arguments.sh | 2 +- helpers/lh_config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/arguments.sh b/functions/arguments.sh index a5ee8dd4a..f121db306 100755 --- a/functions/arguments.sh +++ b/functions/arguments.sh @@ -75,7 +75,7 @@ Arguments () ;; *) - Echo_error "internal error" + Echo_error "internal error ${0}" exit 1 ;; esac diff --git a/helpers/lh_config b/helpers/lh_config index 40690ea3e..e9ceaac89 100755 --- a/helpers/lh_config +++ b/helpers/lh_config @@ -638,7 +638,7 @@ Local_arguments () ;; *) - Echo_error "internal error" + Echo_error "internal error ${0}" exit 1 ;; esac