Skip to content

Commit

Permalink
Fix submit command usage (#1065)
Browse files Browse the repository at this point in the history
* Fix submit command usage

* Update cmd/submit.go

Co-authored-by: Victor Goff <[email protected]>

* Update cmd/submit.go

* Update cmd/submit.go

* Another format

---------

Co-authored-by: Erik Schierboom <[email protected]>
Co-authored-by: Victor Goff <[email protected]>
  • Loading branch information
3 people authored May 7, 2024
1 parent 13d8905 commit 0d2cbbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ import (

// submitCmd lets people upload a solution to the website.
var submitCmd = &cobra.Command{
Use: "submit FILE1 [FILE2 ...]",
Use: "submit [<FILE> ...]",
Aliases: []string{"s"},
Short: "Submit your solution to an exercise.",
Long: `Submit your solution to an Exercism exercise.
Call the command with the list of files you want to submit.
If you omit the list of files, the CLI will submit the
default solution files for the exercise.
`,
RunE: func(cmd *cobra.Command, args []string) error {
cfg := config.NewConfig()
Expand Down

0 comments on commit 0d2cbbd

Please sign in to comment.