code: func addJoinOtherFlags(flagSet *flag.FlagSet, joinOptions *joinOptions) {
  	flagSet.StringVar(
  		&joinOptions.cfgPath, options.CfgPath, joinOptions.cfgPath,
  		"Path to kubeadm config file.",
  	)
  	flagSet.StringSliceVar(
  		&joinOptions.ignorePreflightErrors, options.IgnorePreflightErrors, joinOptions.ignorePreflightErrors,
  		"A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.",
  	)
  	flagSet.StringVar(
  		&joinOptions.token, options.TokenStr, "",
  		"Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.",
  	)
  	flagSet.BoolVar(
  		&joinOptions.controlPlane, options.ControlPlane, joinOptions.controlPlane,
  		"Create a new control plane instance on this node",
  	)
  	flagSet.StringVar(
  		&joinOptions.certificateKey, options.CertificateKey, "",
  		"Use this key to decrypt the certificate secrets uploaded by init.",
  	)
  }
docs: // addJoinOtherFlags adds join flags that are not bound to a configuration file to the given flagset