Skip to content

Commit 9afb51b

Browse files
Katrina Owennywilken
authored andcommitted
Add debug as alias for troubleshoot (#669)
A lot of exercise READMEs have instructions to run the 'debug' command if you get stuck. E.g. every exercise in Python: https://github.com/exercism/python/blob/a83f53697a1a213967838a78b86f2b358727d76f/exercises/etl/README.md#submitting-exercises We can update these, however in the website we pin people's solution to the HEAD SHA of the track repo at the time when they unlock the solution. So only people who have not already unlocked an exercise with the incorrect command would get the update. Adding 'debug' as an alias makes this 'just work'.
1 parent f7d0ae7 commit 9afb51b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/troubleshoot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var fullAPIKey bool
2222
// troubleshootCmd does a diagnostic self-check.
2323
var troubleshootCmd = &cobra.Command{
2424
Use: "troubleshoot",
25-
Aliases: []string{"t"},
25+
Aliases: []string{"t", "debug"},
2626
Short: "Troubleshoot does a diagnostic self-check.",
2727
Long: `Provides output to help with troubleshooting.
2828

0 commit comments

Comments
 (0)