summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2008-08-01 02:15:51 +0000
committerDenis Vlasenko2008-08-01 02:15:51 +0000
commit9ef1a5ddc1710ab68a654d5f010f22d3bbe0e947 (patch)
tree035b73c499f0b6607f93b02f65b9eb5a07304c5b /include
parente1fa8179958b1d860584b93b649d18a79de31685 (diff)
downloadbusybox-9ef1a5ddc1710ab68a654d5f010f22d3bbe0e947.zip
busybox-9ef1a5ddc1710ab68a654d5f010f22d3bbe0e947.tar.gz
makedevs: fix help text discrepancies
Diffstat (limited to 'include')
-rw-r--r--include/usage.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/include/usage.h b/include/usage.h
index 466dfac..a498a1d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2298,18 +2298,19 @@
#define makedevs_trivial_usage \
"NAME TYPE MAJOR MINOR FIRST LAST [s]"
#define makedevs_full_usage "\n\n" \
- "Create a range of block or character special files\n\n" \
- "TYPEs include:\n" \
- " b Make a block device\n" \
- " c or u Make a character device\n" \
- " p Make a named pipe. MAJOR and MINOR are ignored\n" \
- "\n" \
- "FIRST specifies the number appended to NAME to create the first device.\n" \
- "LAST specifies the number of the last item that should be created\n" \
- "If 's' is the last argument, the base device is created as well.\n\n" \
- "For example:\n" \
- " makedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n" \
- " makedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8"
+ "Create a range of block or character special files" \
+ "\n" \
+ "\nTYPE is:" \
+ "\n b Block device" \
+ "\n c Character device" \
+ "\n f FIFO, MAJOR and MINOR are ignored" \
+ "\n" \
+ "\nFIRST..LAST specify numbers appended to NAME." \
+ "\nIf 's' is the last argument, the base device is created as well." \
+ "\n" \
+ "\nExamples:" \
+ "\n makedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63" \
+ "\n makedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8"
#define makedevs_example_usage \
"# makedevs /dev/ttyS c 4 66 2 63\n" \
"[creates ttyS2-ttyS63]\n" \
@@ -2325,10 +2326,10 @@
"Device table entries take the form of:\n" \
"<type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>\n" \
"Where name is the file name, type can be one of:\n" \
- " f A regular file\n" \
+ " f Regular file\n" \
" d Directory\n" \
- " c Character special device file\n" \
- " b Block special device file\n" \
+ " c Character device\n" \
+ " b Block device\n" \
" p Fifo (named pipe)\n" \
"uid is the user id for the target file, gid is the group id for the\n" \
"target file. The rest of the entries (major, minor, etc) apply to\n" \