Skip to content

Commit 78f1448

Browse files
committed
Update: Usage
1 parent f7a31a2 commit 78f1448

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/base/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (c *Command) Name() string {
2828
}
2929

3030
func (c *Command) Usage() {
31-
fmt.Printf("usage: %s %s\n", CmdName, c.UsageLine)
31+
fmt.Printf("usage: %s %s\n\n", CmdName, c.UsageLine)
3232
fmt.Printf("Run '%s help %s' for details.\n", CmdName, c.Name())
3333
Exit()
3434
}

internal/question/question.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
var CmdQuestion = &base.Command{
1111
Run: runQuestion,
12-
UsageLine: "question (QuestionId)",
12+
UsageLine: "question <QuestionId>",
1313
Short: "build problem solution file",
1414
Long: "build problem's description,solution file.",
1515
}

0 commit comments

Comments
 (0)