Skip to content

Commit f2ebffa

Browse files
committed
Fix PHP notice in bump version script
1 parent 710d32f commit f2ebffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/bump-version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* Prints command-line help
7171
*/
7272
function print_help() {
73-
echo basename( $argv[0] ) . "[-v version] [-t] [-h]\n\n", <<<EOF
73+
echo basename( __FILE__ ) . " [-v version] [-t] [-h]\n\n", <<<EOF
7474
Helper script to increase Source Integration versions
7575
7676
-v [version] Set version if specified, and create bump commit

0 commit comments

Comments
 (0)