commit 0da7f06368df662f4cb185f9a3ca5b1f31bfb830
parent 67795d5b660cbf335c5fb3906c97a664dbe240ff
Author: Matsuda Kenji <info@mtkn.jp>
Date: Thu, 19 Sep 2024 07:50:07 +0900
add documents
Diffstat:
3 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/cat/main.go b/cat/main.go
@@ -1,3 +1,11 @@
+/*
+Cat concatenates and prints files.
+If no arguments is given, it reads from the standard input.
+
+Usage:
+
+ cat [file ...]
+*/
package main
import (
diff --git a/false/main.go b/false/main.go
@@ -1,3 +1,10 @@
+/*
+False exits with a non-zero value.
+
+Usage:
+
+ false
+*/
package main
import "os"
diff --git a/true/main.go b/true/main.go
@@ -1,3 +1,10 @@
+/*
+True exits with 0.
+
+Usage:
+
+ true
+*/
package main
import "os"