mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fixed incorrect arguments handling for "platformio serialports monitor" command // Resolve #248
This commit is contained in:
@ -1,6 +1,12 @@
|
||||
Release History
|
||||
===============
|
||||
|
||||
2.2.1 (2015-??-??)
|
||||
------------------
|
||||
|
||||
* Fixed incorrect arguments handling for `platformio serialports monitor <http://docs.platformio.org/en/latest/userguide/cmd_serialports.html#platformio-serialports-monitor>`_ command
|
||||
(`issue #248 <https://github.com/platformio/platformio/issues/248>`_)
|
||||
|
||||
2.2.0 (2015-07-01)
|
||||
------------------
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
||||
# See LICENSE for details.
|
||||
|
||||
VERSION = (2, 2, 0)
|
||||
VERSION = (2, 2, "1.dev0")
|
||||
__version__ = ".".join([str(s) for s in VERSION])
|
||||
|
||||
__title__ = "platformio"
|
||||
|
@ -68,7 +68,7 @@ def serialports_list(json_output):
|
||||
@click.option("--quiet", is_flag=True,
|
||||
help="Diagnostics: suppress non-error messages, default=Off")
|
||||
def serialports_monitor(**kwargs):
|
||||
sys.argv = sys.argv[3:]
|
||||
sys.argv = sys.argv[2:]
|
||||
|
||||
if not kwargs['port']:
|
||||
for item in get_serialports():
|
||||
|
Reference in New Issue
Block a user