Skip to content

Commit cf7d37a

Browse files
authored
Update __main__.py
1 parent 2af431e commit cf7d37a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meshtastic/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,8 @@ def initParser():
832832

833833
parser.add_argument(
834834
"--get", help=("Get a preferences field. Use an invalid field such as '0' to get a list of all fields."
835-
" Can use either snake_case or camelCase format. (ex: 'ls_secs' or 'lsSecs')"), action='append')
835+
" Can use either snake_case or camelCase format. (ex: 'ls_secs' or 'lsSecs')"),
836+
nargs=1, action='append')
836837

837838
parser.add_argument(
838839
"--set", help="Set a preferences field. Can use either snake_case or camelCase format. (ex: 'ls_secs' or 'lsSecs')", nargs=2, action='append')

0 commit comments

Comments
 (0)