MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / helpRequested

Function helpRequested

mob.go:401–409  ·  view source on GitHub ↗
(parameter []string)

Source from the content-addressed store, hash-verified

399}
400
401func helpRequested(parameter []string) bool {
402 for i := 0; i < len(parameter); i++ {
403 element := parameter[i]
404 if element == "help" || element == "--help" || element == "-h" {
405 return true
406 }
407 }
408 return false
409}
410
411func clean(configuration config.Configuration) {
412 git("fetch", configuration.RemoteName, "--prune")

Callers 2

TestHelpRequestedFunction · 0.85
executeFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestHelpRequestedFunction · 0.68