We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18c2d08 + a04b349 commit 18883b9Copy full SHA for 18883b9
2 files changed
.vscode/launch.json
@@ -164,7 +164,7 @@
164
"request": "launch",
165
"module": "meshtastic",
166
"justMyCode": true,
167
- "args": ["--debug", "--seriallog", "stdout"]
+ "args": ["--debug", "--seriallog"]
168
},
169
{
170
"name": "meshtastic test",
meshtastic/__main__.py
@@ -1170,7 +1170,10 @@ def initParser():
1170
1171
group.add_argument(
1172
"--seriallog",
1173
- help="Log device serial output to either 'stdout', 'none' or a filename to append to.",
+ help="Log device serial output to either 'none' or a filename to append to. Defaults to 'stdout' if no filename specified.",
1174
+ nargs='?',
1175
+ const="stdout",
1176
+ default=None
1177
)
1178
1179
0 commit comments