Skip to content

Commit c95c50d

Browse files
committed
better command line help texts
1 parent fd2e3e7 commit c95c50d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

robotcode/language_server/__main__.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,13 @@ def create_parser() -> argparse.ArgumentParser:
8787
help="communication mode",
8888
)
8989

90-
result.add_argument("--stdio", action="store_true", help="run in stdio mode")
91-
result.add_argument("--socket", default=None, help="run in socket mode", type=int)
92-
result.add_argument("--pipe", default=None, help="run in named pipe mode", type=str)
90+
result.add_argument("--stdio", action="store_true", help="run in stdio mode (Shortcut for --mode=stdio)")
91+
result.add_argument(
92+
"--socket", default=None, help="run in socket mode (Shortcut for --mode=socket --port ...)", type=int
93+
)
94+
result.add_argument(
95+
"--pipe", default=None, help="run in named pipe mode (Shortcut for --mode=pipe --pipe-name ...)", type=str
96+
)
9397

9498
result.add_argument("-p", "--port", default=6610, help="server listen port (mode socket and tcp)", type=int)
9599

0 commit comments

Comments
 (0)