code: func MakePasswordList(ctx *cli.Context) []string {
  	path := ctx.GlobalString(PasswordFileFlag.Name)
  	if path == "" {
  		return nil
  	}
  	text, err := ioutil.ReadFile(path)
  	if err != nil {
  		Fatalf("Failed to read password file: %v", err)
  	}
  	lines := strings.Split(string(text), "\n")
  	// Sanitise DOS line endings.
  	for i := range lines {
  		lines[i] = strings.TrimRight(lines[i], "\r")
  	}
  	return lines
  }
docs: // MakePasswordList reads password lines from the file specified by the global --password flag.