Skip to content

Commit

Permalink
Print --parameter on illegal usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gudmdharalds committed Apr 10, 2018
1 parent 3c9d512 commit 31d2a21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vip-go-ci.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 31d2a21

Please sign in to comment.