summaryrefslogtreecommitdiffstats
path: root/cmd_pid.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_pid.go')
-rw-r--r--cmd_pid.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd_pid.go b/cmd_pid.go
index d7fd3fe..3bdb1f3 100644
--- a/cmd_pid.go
+++ b/cmd_pid.go
@@ -13,6 +13,10 @@ func (cmd cmdPID) Name() string {
return "pid"
}
+func (cmd cmdPID) Help() string {
+ return "return the Unix process ID of this program"
+}
+
func (cmd cmdPID) Run(_ *Goctl, _ []string) string {
return pid
}