Beispiel #1
0
 /**
  * Gets whether or not the input is invoking the help command
  *
  * @param IRequest $request The parsed request
  * @return bool True if it is invoking the help command, otherwise false
  */
 private function isInvokingHelpCommand(IRequest $request)
 {
     return $request->getCommandName() == "help" || $request->optionIsSet("h") || $request->optionIsSet("help");
 }