Browse Source

Submitting review d8ad67e59

Add flags description to "pull" help text.
Omar Jarjur 2 years ago
parent
commit
2261b194e7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      commands/pull.go

+ 2 - 1
commands/pull.go

@@ -84,7 +84,8 @@ func pull(repo repository.Repo, args []string) error {
 
 var pullCmd = &Command{
 	Usage: func(arg0 string) {
-		fmt.Printf("Usage: %s pull [<option>] [<remote>]\n", arg0)
+		fmt.Printf("Usage: %s pull [<option>] [<remote>]\n\nOptions:\n", arg0)
+		pullFlagSet.PrintDefaults()
 	},
 	RunMethod: func(repo repository.Repo, args []string) error {
 		return pull(repo, args)