commit aeb8772fea820eba0ae0421d9032e930f1f93f23
parent 8c1988e2b49cace50243219ca6ed11015635e7d0
Author: shrub <maybeshrub@gmail.com>
Date: Mon, 29 Jun 2026 15:55:08 +0000
fix malformed manpages
Diffstat:
31 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/cmd/linux/insmod.c b/cmd/linux/insmod.c
@@ -17,7 +17,7 @@ usage(void)
}
// ?man insmod: insert a module into the Linux kernel
-// ?man arguments: filename [args...
+// ?man arguments: filename [args ...]
// ?man insmod inserts a kernel module from filename into the running kernel
int
main(int argc, char *argv[])
diff --git a/cmd/linux/modprobe.c b/cmd/linux/modprobe.c
@@ -535,7 +535,7 @@ usage(void)
}
// ?man modprobe: add or remove modules from the Linux kernel
-// ?man arguments: module [symbol=value ...
+// ?man arguments: module [symbol=value ...]
// ?man modprobe loads or removes kernel modules from the running system.
// ?man It reads modules.dep, modules.alias, and modules.symbols from the appropriate
// ?man /lib/modules/release directory to resolve module names and dependencies,
diff --git a/cmd/linux/mount.c b/cmd/linux/mount.c
@@ -191,7 +191,7 @@ usage(void)
}
// ?man mount: mount a filesystem
-// ?man arguments: source] [target
+// ?man arguments: source [target]
// ?man mount a filesystem to the directory tree
int
main(int argc, char *argv[])
diff --git a/cmd/linux/switch_root.c b/cmd/linux/switch_root.c
@@ -67,7 +67,7 @@ usage(void)
}
// ?man switch_root: switch to another root filesystem
-// ?man arguments: newroot] [init] (PID 1)
+// ?man arguments: newroot [init] (PID 1)
// ?man switch to another filesystem as the root of the mount tree
int
main(int argc, char *argv[])
diff --git a/cmd/linux/unshare.c b/cmd/linux/unshare.c
@@ -16,7 +16,7 @@ usage(void)
}
// ?man unshare: run program in new namespaces
-// ?man arguments: cmd [args...
+// ?man arguments: cmd [args ...]
// ?man run a program with some namespaces unshared from the parent
int
main(int argc, char *argv[])
diff --git a/cmd/net/host.c b/cmd/net/host.c
@@ -258,7 +258,7 @@ parse_response(const unsigned char *resp, int resp_len, const char *query_name)
}
// ?man host: dns lookup utility
-// ?man arguments: name [server
+// ?man arguments: name [server]
// ?man look up hostnames and IP addresses using dns
int
main(int argc, char *argv[])
diff --git a/cmd/net/ifconfig.c b/cmd/net/ifconfig.c
@@ -98,7 +98,7 @@ list_interfaces(int all)
}
// ?man ifconfig: configure network interfaces
-// ?man arguments: interface [action ...
+// ?man arguments: interface [action ...]
// ?man configure network interface parameters and view stats
int
main(int argc, char *argv[])
diff --git a/cmd/net/ip.c b/cmd/net/ip.c
@@ -346,7 +346,7 @@ do_route(int argc, char *argv[])
}
// ?man ip: show or configure routing and devices
-// ?man arguments: addr | link | route] [args...
+// ?man arguments: [addr | link | route] [args ...]
// ?man configure and view network devices, routing, and tunnels
// ?man ## COMMANDS
// ?man ### addr [show | list [dev <device>]]
diff --git a/cmd/net/netcat.c b/cmd/net/netcat.c
@@ -49,7 +49,7 @@ resolve(const char *host, const char *port, int family, int socktype,
}
// ?man netcat: read and write data across network connections
-// ?man arguments: host] [port
+// ?man arguments: host [port]
// ?man arbitrary data transmission over tcp or udp
int
main(int argc, char *argv[])
diff --git a/cmd/posix/basename.c b/cmd/posix/basename.c
@@ -14,7 +14,7 @@ usage(void)
}
// ?man basename: strip directory and suffix from filenames
-// ?man arguments: path [suffix
+// ?man arguments: path [suffix]
// ?man print filename with leading directories and optional suffix removed
int
main(int argc, char *argv[])
diff --git a/cmd/posix/cut.c b/cmd/posix/cut.c
@@ -162,7 +162,7 @@ usage(void)
}
// ?man cut: cut out fields from lines
-// ?man arguments: -b list [file ...
+// ?man arguments: -b list [file ...]
// ?man print selected parts of lines from files
int
main(int argc, char *argv[])
diff --git a/cmd/posix/date.c b/cmd/posix/date.c
@@ -64,7 +64,7 @@ setdate(const char *s, struct tm *now)
}
// ?man date: print or set system date and time
-// ?man arguments: +format | mmddHHMM[[CC]yy
+// ?man arguments: +format | mmddHHMM[[CC]yy]
// ?man display or configure the system date and time
int
main(int argc, char *argv[])
diff --git a/cmd/posix/env.c b/cmd/posix/env.c
@@ -18,7 +18,7 @@ usage(void)
}
// ?man env: run command in modified environment
-// ?man arguments: ... [var=value] ... [cmd [arg ...
+// ?man arguments: [var=value ...] [cmd [arg ...]]
// ?man set environment variables and run a command
int
main(int argc, char *argv[])
diff --git a/cmd/posix/find.c b/cmd/posix/find.c
@@ -1421,7 +1421,7 @@ usage(void)
}
// ?man find: search for files
-// ?man arguments: path ... [expression ...
+// ?man arguments: path ... [expression ...]
// ?man search for files in a directory hierarchy
int
main(int argc, char **argv)
diff --git a/cmd/posix/getconf.c b/cmd/posix/getconf.c
@@ -23,7 +23,7 @@ usage(void)
}
// ?man getconf: query configuration variables
-// ?man arguments: var [path
+// ?man arguments: var [path]
// ?man query system configuration variables
int
main(int argc, char *argv[])
diff --git a/cmd/posix/grep.c b/cmd/posix/grep.c
@@ -244,7 +244,7 @@ usage(void)
}
// ?man grep: search files for a pattern
-// ?man arguments: pattern] [file ...
+// ?man arguments: pattern [file ...]
// ?man grep searches the named input files for lines matching the given pattern
// ?man if no files are named, or a file is -, standard input is searched
// ?man by default, matching lines are written to standard output
diff --git a/cmd/posix/ln.c b/cmd/posix/ln.c
@@ -19,7 +19,7 @@ usage(void)
}
// ?man ln: make links between files
-// ?man arguments: target [name
+// ?man arguments: target [name]
// ?man create hard or symbolic links between files
int
main(int argc, char *argv[])
diff --git a/cmd/posix/ls.c b/cmd/posix/ls.c
@@ -552,7 +552,7 @@ usage(void)
}
// ?man ls: list directory contents
-// ?man arguments: [file ...
+// ?man arguments: [file ...]
// ?man list information about files and directories
int
main(int argc, char *argv[])
diff --git a/cmd/posix/nice.c b/cmd/posix/nice.c
@@ -24,7 +24,7 @@ usage(void)
}
// ?man nice: run command with modified priority
-// ?man arguments: cmd [arg ...
+// ?man arguments: cmd [arg ...]
// ?man run a command with modified scheduling priority
int
main(int argc, char *argv[])
diff --git a/cmd/posix/nohup.c b/cmd/posix/nohup.c
@@ -17,7 +17,7 @@ usage(void)
}
// ?man nohup: run command immune to hangups
-// ?man arguments: cmd [arg ...
+// ?man arguments: cmd [arg ...]
// ?man run a command that persists after logging out
int
main(int argc, char *argv[])
diff --git a/cmd/posix/printf.c b/cmd/posix/printf.c
@@ -75,7 +75,7 @@ usage(void)
}
// ?man printf: format and print data
-// ?man arguments: format [arg ...
+// ?man arguments: format [arg ...]
// ?man format and print arguments to standard output
int
main(int argc, char *argv[])
diff --git a/cmd/posix/sed.c b/cmd/posix/sed.c
@@ -1750,7 +1750,7 @@ old_next(void)
}
// ?man sed: stream editor
-// ?man arguments: script [file ...
+// ?man arguments: script [file ...]
// ?man stream editor for filtering and transforming text
int
main(int argc, char *argv[])
diff --git a/cmd/posix/time.c b/cmd/posix/time.c
@@ -17,7 +17,7 @@ usage(void)
}
// ?man time: time command execution
-// ?man arguments: cmd [arg ...
+// ?man arguments: cmd [arg ...]
// ?man run a command and report its execution duration
int
main(int argc, char *argv[])
diff --git a/cmd/posix/tr.c b/cmd/posix/tr.c
@@ -190,7 +190,7 @@ usage(void)
}
// ?man tr: translate characters
-// ?man arguments: set1 [set2
+// ?man arguments: set1 [set2]
// ?man translate, squeeze, or delete characters from standard input
int
main(int argc, char *argv[])
diff --git a/cmd/posix/uuencode.c b/cmd/posix/uuencode.c
@@ -99,7 +99,7 @@ usage(void)
}
// ?man uuencode: encode binary file
-// ?man arguments: file] name
+// ?man arguments: [file] name
// ?man encode a binary file into ascii text
int
main(int argc, char *argv[])
diff --git a/cmd/pseudo/chroot.c b/cmd/pseudo/chroot.c
@@ -14,7 +14,7 @@ usage(void)
}
// ?man chroot: run command in new root
-// ?man arguments: dir [cmd [arg ...
+// ?man arguments: dir [cmd [arg ...]]
// ?man run a command or shell with a substitute root directory
int
main(int argc, char *argv[])
diff --git a/cmd/pseudo/flock.c b/cmd/pseudo/flock.c
@@ -18,7 +18,7 @@ usage(void)
}
// ?man flock: manage locks
-// ?man arguments: file cmd [arg ...
+// ?man arguments: file cmd [arg ...]
// ?man acquire or release locks from shell scripts
int
main(int argc, char *argv[])
diff --git a/cmd/pseudo/getty.c b/cmd/pseudo/getty.c
@@ -27,7 +27,7 @@ usage(void)
}
// ?man getty: set terminal mode
-// ?man arguments: tty] [term] [cmd] [args...
+// ?man arguments: tty [term] [cmd] [args ...]
// ?man set terminal line discipline, speed, and mode
int
main(int argc, char *argv[])
diff --git a/cmd/pseudo/respawn.c b/cmd/pseudo/respawn.c
@@ -32,7 +32,7 @@ usage(void)
}
// ?man respawn: restart command on exit
-// ?man arguments: cmd [args...
+// ?man arguments: cmd [args ...]
// ?man run a command and restart it automatically when it exits
int
main(int argc, char *argv[])
diff --git a/cmd/pseudo/setsid.c b/cmd/pseudo/setsid.c
@@ -15,7 +15,7 @@ usage(void)
}
// ?man setsid: run in new session
-// ?man arguments: cmd [arg ...
+// ?man arguments: cmd [arg ...]
// ?man run a program in a new session
int
main(int argc, char *argv[])
diff --git a/cmd/pseudo/tar.c b/cmd/pseudo/tar.c
@@ -801,7 +801,7 @@ usage(void)
}
// ?man tar: tape archiver
-// ?man arguments: x | t | -x | -t] [file ...
+// ?man arguments: [x | t | -x | -t] [file ...]
// ?man tar [c | -c] [-C dir] [-J | -Z | -a | -j | -z] [-h] [-T file] [-X file] path ... [-f file]
// ?man manipulate tape archive files
int