Skip to content

Commit 0c194e6

Browse files
committed
limactl shell flags MUST come before the instance name
Everything after the instance name is sent to the shell. Updated usage: ``` $ limactl shell --help Execute shell in Lima ... Usage: limactl shell [flags] INSTANCE [COMMAND...] ``` Signed-off-by: Jan Dubois <[email protected]>
1 parent bc03c58 commit 0c194e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/limactl/shell.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Hint: try --debug to show the detailed logs, if it seems hanging (mostly due to
3333

3434
func newShellCommand() *cobra.Command {
3535
var shellCmd = &cobra.Command{
36-
Use: "shell INSTANCE [COMMAND...]",
36+
Use: "shell [flags] INSTANCE [COMMAND...]",
3737
Short: "Execute shell in Lima",
3838
Long: shellHelp,
3939
Args: WrapArgsError(cobra.MinimumNArgs(1)),

0 commit comments

Comments
 (0)