OSDN Git Service

Help text should have a blank line after usage: lines, and a couple other whitespace...
authorRob Landley <rob@landley.net>
Tue, 3 Jun 2014 02:16:20 +0000 (21:16 -0500)
committerRob Landley <rob@landley.net>
Tue, 3 Jun 2014 02:16:20 +0000 (21:16 -0500)
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

index 1b85d0b..5c69a1e 100644 (file)
@@ -12,6 +12,7 @@ config BLKID
   default y
   help
     usage: blkid [block device...]
+
     Prints type, label and UUID of filesystem.
 */
 
index ef457ae..f572a99 100644 (file)
@@ -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).
 */
index 0b885dc..eff918c 100644 (file)
@@ -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"
index e4301a6..bb476df 100644 (file)
@@ -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.
index 78881c4..3644c4f 100644 (file)
@@ -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.
 
index 5ca466d..38f136e 100644 (file)
@@ -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"
index 5cbc28d..739f961 100644 (file)
@@ -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.
index fec3ce9..23266c3 100644 (file)
@@ -11,6 +11,7 @@ config RMDIR
   default y
   help
     usage: rmdir [-p] [dirname...]
+
     Remove one or more directories.
 
     -p Remove path.