Remove "autogen_" prefix from default env

This commit is contained in:
Ivan Kravets
2015-05-06 11:28:56 +01:00
parent 945b1324af
commit 04f246ea9d
2 changed files with 5 additions and 4 deletions

View File

@@ -57,9 +57,10 @@ allows you to disable firmware auto-uploading by default.
.. option:: .. option::
--env-prefix --env-prefix
An environment prefix which will be used with pair in board type. The default An environment prefix which will be used with pair in board type.
value is ``autogen_``. For example, the default environment name for
``teensy_31`` board will be ``[env:autogen_teensy_31]``. For example, the default environment name for ``teensy_31`` board will
be ``[env:teensy_31]``.
Examples Examples

View File

@@ -32,7 +32,7 @@ def validate_boards(ctx, param, value): # pylint: disable=W0613
@click.option("--ide", @click.option("--ide",
type=click.Choice(ProjectGenerator.get_supported_ides())) type=click.Choice(ProjectGenerator.get_supported_ides()))
@click.option("--disable-auto-uploading", is_flag=True) @click.option("--disable-auto-uploading", is_flag=True)
@click.option("--env-prefix", default="autogen_") @click.option("--env-prefix", default="")
def cli(project_dir, board, ide, disable_auto_uploading, env_prefix): def cli(project_dir, board, ide, disable_auto_uploading, env_prefix):
# ask about auto-uploading # ask about auto-uploading