Skip to content

Commit

Permalink
Fix submit command usage
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerfcsantos committed Oct 12, 2022
1 parent 0513c81 commit bd9eb18
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 [FILE1 ...]",
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 attempt to submit
automatically the appropriate solution files for the exercise.
`,
RunE: func(cmd *cobra.Command, args []string) error {
cfg := config.NewConfig()
Expand Down

0 comments on commit bd9eb18

Please sign in to comment.