github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/command/translatableerror/command_line_args_with_multiple_apps_error.go (about)

     1  package translatableerror
     2  
     3  type CommandLineArgsWithMultipleAppsError struct {
     4  }
     5  
     6  func (CommandLineArgsWithMultipleAppsError) Error() string {
     7  	return "Incorrect Usage: Command line flags (except -f and --no-start) cannot be applied when pushing multiple apps from a manifest file."
     8  }
     9  
    10  func (e CommandLineArgsWithMultipleAppsError) Translate(translate func(string, ...interface{}) string) string {
    11  	return translate(e.Error())
    12  }