mirror of
https://github.com/Lekensteyn/lglaf.git
synced 2024-11-14 19:35:41 -05:00
Printing stderr-redirection warning to user via --help for rawshell argument
This commit is contained in:
parent
61e59e2a27
commit
1ef1741bff
1 changed files with 2 additions and 1 deletions
3
lglaf.py
3
lglaf.py
|
@ -427,7 +427,8 @@ parser = argparse.ArgumentParser(description='LG LAF Download Mode utility')
|
||||||
parser.add_argument("--skip-hello", action="store_true",
|
parser.add_argument("--skip-hello", action="store_true",
|
||||||
help="Immediately send commands, skip HELO message")
|
help="Immediately send commands, skip HELO message")
|
||||||
parser.add_argument('--rawshell', action="store_true",
|
parser.add_argument('--rawshell', action="store_true",
|
||||||
help="Execute shell commands as-is, needed on recent devices")
|
help="Execute shell commands as-is, needed on recent devices. "
|
||||||
|
"CAUTION: stderr output is not redirected!")
|
||||||
parser.add_argument("-c", "--command", help='Shell command to execute')
|
parser.add_argument("-c", "--command", help='Shell command to execute')
|
||||||
parser.add_argument("--serial", metavar="PATH", dest="serial_path",
|
parser.add_argument("--serial", metavar="PATH", dest="serial_path",
|
||||||
help="Path to serial device (e.g. COM4).")
|
help="Path to serial device (e.g. COM4).")
|
||||||
|
|
Loading…
Reference in a new issue