Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2fe3c28

Browse files
committed
fix: add warning log for unexpected arguments in open command
1 parentec5049d commit2fe3c28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎hub.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ func checkCmd(m []byte) {
147147
return
148148
}
149149

150+
iflen(args)>3 {
151+
log.Warn(fmt.Sprintf("Unexpected arguments for the open command. Ignored arguments: '%s'.",args[3:]))
152+
}
153+
150154
gospHandlerOpen(args[1],baud)
151155

152156
}elseifstrings.HasPrefix(sl,"close") {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp