Add missing "usage" text for three commands

I noticed this when testing my `help` command and noticed that
`help builtin:` produced three lines of "usage" text that did not
include a function or variable name.
This commit is contained in:
Kurtis Rader 2022-07-10 19:00:16 -07:00 committed by Qi Xiao
parent 8cb125c911
commit a549dba0ba

View File

@ -284,6 +284,10 @@ func multiErrorFn(excs ...Exception) error {
//elvdoc:fn return
//
// ```elvish
// return
// ```
//
// Raises the special "return" exception. When raised inside a named function
// (defined by the [`fn` keyword](language.html#fn)) it is captured by the
// function and causes the function to terminate. It is not captured by an
@ -328,6 +332,10 @@ func returnFn() error {
//elvdoc:fn break
//
// ```elvish
// break
// ```
//
// Raises the special "break" exception. When raised inside a loop it is
// captured and causes the loop to terminate.
//
@ -354,6 +362,10 @@ func breakFn() error {
//elvdoc:fn continue
//
// ```elvish
// continue
// ```
//
// Raises the special "continue" exception. When raised inside a loop it is
// captured and causes the loop to begin its next iteration.
//