From 31d2a2161ea0fa4ed2f97d456aeb784a422d732d Mon Sep 17 00:00:00 2001 From: gdh Date: Tue, 10 Apr 2018 16:29:34 +0000 Subject: [PATCH] Print --parameter on illegal usage --- vip-go-ci.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vip-go-ci.php b/vip-go-ci.php index be0793a2e..cbac6e0fa 100755 --- a/vip-go-ci.php +++ b/vip-go-ci.php @@ -75,7 +75,7 @@ function vipgoci_option_integer_handle( /* Make sure it is a numeric */ if ( ! is_numeric( $options[ $parameter_name ] ) ) { vipgoci_sysexit( - 'Usage: Parameter ' . $parameter_name . ' is not ' . + 'Usage: Parameter --' . $parameter_name . ' is not ' . 'an integer-value.', array(), VIPGOCI_EXIT_USAGE_ERROR @@ -100,7 +100,7 @@ function vipgoci_option_integer_handle( ) ) ) { vipgoci_sysexit( - 'Parameter ' . $parameter_name . ' is out ' . + 'Parameter --' . $parameter_name . ' is out ' . 'of allowable range.', array(), VIPGOCI_EXIT_USAGE_ERROR