Skip to content

Commit

Permalink
Make mila code default to mila code .
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
  • Loading branch information
lebrice committed Apr 25, 2024
1 parent ab9a1f2 commit 4b0b4ff
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion milatools/cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,17 @@ def add_arguments(parser: argparse.ArgumentParser):
formatter_class=SortingHelpFormatter,
)
code_parser.add_argument(
"PATH", help="Path to open on the remote machine", type=str
"PATH",
help=(
"Path to open on the remote machine. Defaults to $HOME.\n"
"Can be a relative or absolute path. When a relative path (that doesn't "
"start with a '/', like foo/bar) is passed, the path is relative to the "
"$HOME directory on the selected cluster.\n"
"For example, foo/project will be interpreted as $HOME/foo/project."
),
type=str,
default=".",
nargs="?",
)
code_parser.add_argument(
"--cluster",
Expand Down

0 comments on commit 4b0b4ff

Please sign in to comment.