code: def bump_option_validator(ctx, param, value):
      
  
      if value:
          try:
              value = Version(value)
          except ValueError:
              ctx.fail(f"{x_mark} {value} is not a valid version string")
  
      return value
docs: In case a value is provided checks that it is a valid version string. If
      is not thrown :class:`click.UsageError`.
  
      Return a :class:`~braulio.version.Version` object or **None**.