Skip to content

Commit 02cc8dd

Browse files
committed
Update docs to reflect actual implementations
1 parent 328e093 commit 02cc8dd

File tree

7 files changed

+48
-4
lines changed

7 files changed

+48
-4
lines changed

docs/cat.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
Usage: cat [OPTION]... [FILE]...
1+
Usage: cat [FILE]...
22
Concatenate FILE(s) to standard output.
3+
4+
--help display this help and exit
5+
--version output version information and exit
6+
7+
With no FILE, or when FILE is -, read standard input.

docs/false.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1+
Usage: false [ignored command line arguments]
12
Exit with a status code indicating failure.
3+
4+
--help display this help and exit
5+
--version output version information and exit
6+
7+
NOTE: your shell may have its own version of false, which usually supersedes
8+
the version described here. Please refer to your shell's documentation
9+
for details about the options it supports.

docs/mkdir.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
Usage: mkdir [OPTION]... DIRECTORY...
22
Create the DIRECTORY(ies), if they do not already exist.
3+
4+
--help display this help and exit
5+
--version output version information and exit
6+
7+
Each DIRECTORY is created with mode 0777 modified by the umask.

docs/pwd.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
Usage: pwd [OPTION]...
22
Print the full filename of the current working directory.
3+
4+
-L, --logical use PWD from environment, even if it contains symlinks
5+
-P, --physical avoid all symlinks (default)
6+
--help display this help and exit
7+
--version output version information and exit
8+
9+
If no option is specified, -P is assumed.

docs/true.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1+
Usage: true [ignored command line arguments]
12
Exit with a status code indicating success.
3+
4+
--help display this help and exit
5+
--version output version information and exit
6+
7+
NOTE: your shell may have its own version of true, which usually supersedes
8+
the version described here. Please refer to your shell's documentation
9+
for details about the options it supports.

docs/wc.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
Usage: wc [OPTION]... [FILE]...
2-
Print newline, word, and byte counts for each FILE, and a total line if
3-
more than one FILE is specified. A word is a nonempty sequence of non white
4-
space delimited by white space characters or by start or end of input.
2+
Print newline, word, and byte counts for each FILE. A word is a nonempty
3+
sequence of non white space delimited by white space characters or by start
4+
or end of input.
5+
6+
-c, --bytes print the byte counts
7+
-m, --chars print the character counts
8+
-l, --lines print the newline counts
9+
-w, --words print the word counts
10+
--help display this help and exit
11+
--version output version information and exit

docs/yes.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
Usage: yes [STRING]...
2+
Repeatedly output a line with all specified STRING(s), or 'y'.
3+
4+
--help display this help and exit
5+
--version output version information and exit

0 commit comments

Comments
 (0)