aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/other/blkid.c1
-rw-r--r--toys/other/modinfo.c1
-rw-r--r--toys/other/vconfig.c14
-rw-r--r--toys/posix/cal.c1
-rw-r--r--toys/posix/cat.c1
-rw-r--r--toys/posix/cut.c14
-rw-r--r--toys/posix/mkdir.c1
-rw-r--r--toys/posix/rmdir.c1
8 files changed, 21 insertions, 13 deletions
diff --git a/toys/other/blkid.c b/toys/other/blkid.c
index 1b85d0b8..5c69a1ef 100644
--- a/toys/other/blkid.c
+++ b/toys/other/blkid.c
@@ -12,6 +12,7 @@ config BLKID
default y
help
usage: blkid [block device...]
+
Prints type, label and UUID of filesystem.
*/
diff --git a/toys/other/modinfo.c b/toys/other/modinfo.c
index ef457aea..f572a991 100644
--- a/toys/other/modinfo.c
+++ b/toys/other/modinfo.c
@@ -9,6 +9,7 @@ config MODINFO
default y
help
usage: modinfo [-0] [-b basedir] [-k kernrelease] [-F field] [modulename...]
+
Display module fields for all specified modules, looking in
<basedir>/lib/modules/<kernrelease>/ (kernrelease defaults to uname -r).
*/
diff --git a/toys/other/vconfig.c b/toys/other/vconfig.c
index 0b885dca..eff918c1 100644
--- a/toys/other/vconfig.c
+++ b/toys/other/vconfig.c
@@ -13,14 +13,14 @@ config VCONFIG
help
usage: vconfig COMMAND [OPTIONS]
- add [interface-name] [vlan_id]
- rem [vlan-name]
- set_flag [interface-name] [flag-num] [0 | 1]
- set_egress_map [vlan-name] [skb_priority] [vlan_qos]
- set_ingress_map [vlan-name] [skb_priority] [vlan_qos]
- set_name_type [name-type]
-
Create and remove virtual ethernet devices
+
+ add [interface-name] [vlan_id]
+ rem [vlan-name]
+ set_flag [interface-name] [flag-num] [0 | 1]
+ set_egress_map [vlan-name] [skb_priority] [vlan_qos]
+ set_ingress_map [vlan-name] [skb_priority] [vlan_qos]
+ set_name_type [name-type]
*/
#include "toys.h"
diff --git a/toys/posix/cal.c b/toys/posix/cal.c
index e4301a64..bb476dfd 100644
--- a/toys/posix/cal.c
+++ b/toys/posix/cal.c
@@ -11,6 +11,7 @@ config CAL
default y
help
usage: cal [[month] year]
+
Print a calendar.
With one argument, prints all months of the specified year.
diff --git a/toys/posix/cat.c b/toys/posix/cat.c
index 78881c4c..3644c4f9 100644
--- a/toys/posix/cat.c
+++ b/toys/posix/cat.c
@@ -11,6 +11,7 @@ config CAT
default y
help
usage: cat [-u] [file...]
+
Copy (concatenate) files to stdout. If no files listed, copy from stdin.
Filename "-" is a synonym for stdin.
diff --git a/toys/posix/cut.c b/toys/posix/cut.c
index 5ca466dc..38f136e2 100644
--- a/toys/posix/cut.c
+++ b/toys/posix/cut.c
@@ -11,13 +11,15 @@ config CUT
default y
help
usage: cut OPTION... [FILE]...
+
Print selected parts of lines from each FILE to standard output.
- -b LIST select only these bytes from LIST.
- -c LIST select only these characters from LIST.
- -f LIST select only these fields.
- -d DELIM use DELIM instead of TAB for field delimiter.
- -s do not print lines not containing delimiters.
- -n don't split multibyte characters (Ignored).
+
+ -b LIST select only these bytes from LIST.
+ -c LIST select only these characters from LIST.
+ -f LIST select only these fields.
+ -d DELIM use DELIM instead of TAB for field delimiter.
+ -s do not print lines not containing delimiters.
+ -n don't split multibyte characters (Ignored).
*/
#define FOR_cut
#include "toys.h"
diff --git a/toys/posix/mkdir.c b/toys/posix/mkdir.c
index 5cbc28db..739f961b 100644
--- a/toys/posix/mkdir.c
+++ b/toys/posix/mkdir.c
@@ -11,6 +11,7 @@ config MKDIR
default y
help
usage: mkdir [-vp] [-m mode] [dirname...]
+
Create one or more directories.
-m set permissions of directory to mode.
diff --git a/toys/posix/rmdir.c b/toys/posix/rmdir.c
index fec3ce98..23266c31 100644
--- a/toys/posix/rmdir.c
+++ b/toys/posix/rmdir.c
@@ -11,6 +11,7 @@ config RMDIR
default y
help
usage: rmdir [-p] [dirname...]
+
Remove one or more directories.
-p Remove path.