Skip to content

Commit 2acf9e1

Browse files
authored
Fix option help message (#1970)
`-inputhandler` flag should take a class name, not a file.
1 parent ada57ad commit 2acf9e1

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

src/Phing/Phing.php

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -561,29 +561,29 @@ public static function printUsage()
561561
$msg = <<<'TEXT'
562562
phing [options] [target [target2 [target3] ...]]
563563
Options:
564-
-h -help print this message
565-
-l -list list available targets in this project
566-
-i -init [file] generates an initial buildfile
567-
-v -version print the version information and exit
568-
-q -quiet be extra quiet
569-
-S -silent print nothing but task outputs and build failures
570-
-verbose be extra verbose
571-
-debug print debugging information
572-
-e -emacs produce logging information without adornments
573-
-diagnostics print diagnostics information
574-
-strict runs build in strict mode, considering a warning as error
575-
-no-strict runs build normally (overrides buildfile attribute)
576-
-longtargets show target descriptions during build
577-
-logfile <file> use given file for log
578-
-logger <classname> the class which is to perform logging
579-
-listener <classname> add an instance of class as a project listener
580-
-f -buildfile <file> use given buildfile
581-
-D<property>=<value> use value for given property
582-
-k -keep-going execute all targets that do not depend on failed target(s)
583-
-propertyfile <file> load all properties from file
584-
-propertyfileoverride values in property file override existing values
585-
-find <file> search for buildfile towards the root of the filesystem and use it
586-
-inputhandler <file> the class to use to handle user input
564+
-h -help print this message
565+
-l -list list available targets in this project
566+
-i -init [file] generates an initial buildfile
567+
-v -version print the version information and exit
568+
-q -quiet be extra quiet
569+
-S -silent print nothing but task outputs and build failures
570+
-verbose be extra verbose
571+
-debug print debugging information
572+
-e -emacs produce logging information without adornments
573+
-diagnostics print diagnostics information
574+
-strict runs build in strict mode, considering a warning as error
575+
-no-strict runs build normally (overrides buildfile attribute)
576+
-longtargets show target descriptions during build
577+
-logfile <file> use given file for log
578+
-logger <classname> the class which is to perform logging
579+
-listener <classname> add an instance of class as a project listener
580+
-f -buildfile <file> use given buildfile
581+
-D<property>=<value> use value for given property
582+
-k -keep-going execute all targets that do not depend on failed target(s)
583+
-propertyfile <file> load all properties from file
584+
-propertyfileoverride values in property file override existing values
585+
-find <file> search for buildfile towards the root of the filesystem and use it
586+
-inputhandler <classname> the class to use to handle user input
587587
588588
Report bugs to https://github.com/phingofficial/phing/issues
589589

0 commit comments

Comments
 (0)