Mercurial > hg > toybox
changeset 1333:fc1bb49e58a9 draft
Help text should have a blank line after usage: lines, and a couple other whitespace tweaks.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 02 Jun 2014 21:16:20 -0500 |
parents | 7e0c577a977e |
children | 9fd2bcedbeb5 |
files | toys/other/blkid.c toys/other/modinfo.c toys/other/vconfig.c toys/posix/cal.c toys/posix/cat.c toys/posix/cut.c toys/posix/mkdir.c toys/posix/rmdir.c |
diffstat | 8 files changed, 21 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/toys/other/blkid.c Sun Jun 01 17:47:19 2014 -0500 +++ b/toys/other/blkid.c Mon Jun 02 21:16:20 2014 -0500 @@ -12,6 +12,7 @@ default y help usage: blkid [block device...] + Prints type, label and UUID of filesystem. */
--- a/toys/other/modinfo.c Sun Jun 01 17:47:19 2014 -0500 +++ b/toys/other/modinfo.c Mon Jun 02 21:16:20 2014 -0500 @@ -9,6 +9,7 @@ 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). */
--- a/toys/other/vconfig.c Sun Jun 01 17:47:19 2014 -0500 +++ b/toys/other/vconfig.c Mon Jun 02 21:16:20 2014 -0500 @@ -13,14 +13,14 @@ 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 - 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"
--- a/toys/posix/cal.c Sun Jun 01 17:47:19 2014 -0500 +++ b/toys/posix/cal.c Mon Jun 02 21:16:20 2014 -0500 @@ -11,6 +11,7 @@ default y help usage: cal [[month] year] + Print a calendar. With one argument, prints all months of the specified year.
--- a/toys/posix/cat.c Sun Jun 01 17:47:19 2014 -0500 +++ b/toys/posix/cat.c Mon Jun 02 21:16:20 2014 -0500 @@ -11,6 +11,7 @@ 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.
--- a/toys/posix/cut.c Sun Jun 01 17:47:19 2014 -0500 +++ b/toys/posix/cut.c Mon Jun 02 21:16:20 2014 -0500 @@ -11,13 +11,15 @@ 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"