aboutsummaryrefslogtreecommitdiffhomepage
path: root/command/builder.go
diff options
context:
space:
mode:
Diffstat (limited to 'command/builder.go')
-rw-r--r--command/builder.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/command/builder.go b/command/builder.go
index c0782c66..d3b0c3f5 100644
--- a/command/builder.go
+++ b/command/builder.go
@@ -13,6 +13,7 @@ func New(output io.Writer, logf LogFunc, name string, early HandlerFunc) Command
return c
}
+// newNode initialises a subcommand tree and returns its address.
func newNode(output io.Writer, logf LogFunc, name, usage string) *node {
n := &node{
name: name, usage: usage,