Added "Core" suffix when showing PlatformIO Core version using `pio --version` command

This commit is contained in:
Ivan Kravets
2020-11-12 20:42:27 +02:00
parent abddbf9c7d
commit 7934a96ad1
3 changed files with 5 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ PlatformIO Core 5
5.0.4 (2020-??-??) 5.0.4 (2020-??-??)
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
- Added "Core" suffix when showing PlatformIO Core version using ``pio --verison`` command
- Do not provide "intelliSenseMode" option when generating configuration for VSCode C/C++ extension - Do not provide "intelliSenseMode" option when generating configuration for VSCode C/C++ extension
5.0.3 (2020-11-12) 5.0.3 (2020-11-12)

View File

@@ -31,11 +31,11 @@ __description__ = (
) )
__url__ = "https://platformio.org" __url__ = "https://platformio.org"
__author__ = "PlatformIO" __author__ = "PlatformIO Labs"
__email__ = "contact@platformio.org" __email__ = "contact@piolabs.com"
__license__ = "Apache Software License" __license__ = "Apache Software License"
__copyright__ = "Copyright 2014-present PlatformIO" __copyright__ = "Copyright 2014-present PlatformIO Labs"
__accounts_api__ = "https://api.accounts.platformio.org" __accounts_api__ = "https://api.accounts.platformio.org"
__registry_api__ = [ __registry_api__ = [

View File

@@ -33,7 +33,7 @@ except: # pylint: disable=bare-except
@click.command( @click.command(
cls=PlatformioCLI, context_settings=dict(help_option_names=["-h", "--help"]) cls=PlatformioCLI, context_settings=dict(help_option_names=["-h", "--help"])
) )
@click.version_option(__version__, prog_name="PlatformIO") @click.version_option(__version__, prog_name="PlatformIO Core")
@click.option("--force", "-f", is_flag=True, help="DEPRECATE") @click.option("--force", "-f", is_flag=True, help="DEPRECATE")
@click.option("--caller", "-c", help="Caller ID (service)") @click.option("--caller", "-c", help="Caller ID (service)")
@click.option("--no-ansi", is_flag=True, help="Do not print ANSI control characters") @click.option("--no-ansi", is_flag=True, help="Do not print ANSI control characters")