Skip to content

Commit fc511b8

Browse files
committed
Merge pull request #57 from rcode5/add-description-to-restore-method
Add description block for #restore
2 parents b5a8db8 + e18a2a3 commit fc511b8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ func main() {
152152
Name: "restore",
153153
ShortName: "r",
154154
Usage: "Restore completed and current assignments from exercism.io",
155+
Description: "Restore will pull the latest revisions of exercises that have already been " +
156+
"submitted. It will *not* overwrite existing files. If you have made changes " +
157+
"to a file and have not submitted it, and you're trying to restore the last " +
158+
"submitted version, first move that file out of the way, then call restore.",
155159
Action: func(c *cli.Context) {
156160
config, err := configuration.FromFile(configuration.HomeDir())
157161
if err != nil {

0 commit comments

Comments
 (0)