We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b57a1 commit cac0953Copy full SHA for cac0953
cmd/lima
@@ -2,4 +2,18 @@
2
set -eu
3
: "${LIMA_INSTANCE:=default}"
4
: "${LIMACTL:=limactl}"
5
+
6
+if [ "$#" -eq 1 ]; then
7
+ if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
8
+ base="$(basename "$0")"
9
+ echo "Usage: ${base} [COMMAND...]"
10
+ echo
11
+ echo "${base} is an alias for \"${LIMACTL} shell ${LIMA_INSTANCE}\"."
12
+ echo "The instance name (\"${LIMA_INSTANCE}\") can be changed by specifying \$LIMA_INSTANCE."
13
14
+ echo "See \`${LIMACTL} shell --help\` for further information."
15
+ exit 0
16
+ fi
17
+fi
18
19
exec "$LIMACTL" shell "$LIMA_INSTANCE" "$@"
0 commit comments