diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-08-01 02:15:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-08-01 02:15:51 +0000 |
commit | 9ef1a5ddc1710ab68a654d5f010f22d3bbe0e947 (patch) | |
tree | 035b73c499f0b6607f93b02f65b9eb5a07304c5b | |
parent | e1fa8179958b1d860584b93b649d18a79de31685 (diff) | |
download | busybox-w32-9ef1a5ddc1710ab68a654d5f010f22d3bbe0e947.tar.gz busybox-w32-9ef1a5ddc1710ab68a654d5f010f22d3bbe0e947.tar.bz2 busybox-w32-9ef1a5ddc1710ab68a654d5f010f22d3bbe0e947.zip |
makedevs: fix help text discrepancies
-rw-r--r-- | include/usage.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/include/usage.h b/include/usage.h index 466dfac11..a498a1dad 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2298,18 +2298,19 @@ | |||
2298 | #define makedevs_trivial_usage \ | 2298 | #define makedevs_trivial_usage \ |
2299 | "NAME TYPE MAJOR MINOR FIRST LAST [s]" | 2299 | "NAME TYPE MAJOR MINOR FIRST LAST [s]" |
2300 | #define makedevs_full_usage "\n\n" \ | 2300 | #define makedevs_full_usage "\n\n" \ |
2301 | "Create a range of block or character special files\n\n" \ | 2301 | "Create a range of block or character special files" \ |
2302 | "TYPEs include:\n" \ | 2302 | "\n" \ |
2303 | " b Make a block device\n" \ | 2303 | "\nTYPE is:" \ |
2304 | " c or u Make a character device\n" \ | 2304 | "\n b Block device" \ |
2305 | " p Make a named pipe. MAJOR and MINOR are ignored\n" \ | 2305 | "\n c Character device" \ |
2306 | "\n" \ | 2306 | "\n f FIFO, MAJOR and MINOR are ignored" \ |
2307 | "FIRST specifies the number appended to NAME to create the first device.\n" \ | 2307 | "\n" \ |
2308 | "LAST specifies the number of the last item that should be created\n" \ | 2308 | "\nFIRST..LAST specify numbers appended to NAME." \ |
2309 | "If 's' is the last argument, the base device is created as well.\n\n" \ | 2309 | "\nIf 's' is the last argument, the base device is created as well." \ |
2310 | "For example:\n" \ | 2310 | "\n" \ |
2311 | " makedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n" \ | 2311 | "\nExamples:" \ |
2312 | " makedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8" | 2312 | "\n makedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63" \ |
2313 | "\n makedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8" | ||
2313 | #define makedevs_example_usage \ | 2314 | #define makedevs_example_usage \ |
2314 | "# makedevs /dev/ttyS c 4 66 2 63\n" \ | 2315 | "# makedevs /dev/ttyS c 4 66 2 63\n" \ |
2315 | "[creates ttyS2-ttyS63]\n" \ | 2316 | "[creates ttyS2-ttyS63]\n" \ |
@@ -2325,10 +2326,10 @@ | |||
2325 | "Device table entries take the form of:\n" \ | 2326 | "Device table entries take the form of:\n" \ |
2326 | "<type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>\n" \ | 2327 | "<type> <mode> <uid> <gid> <major> <minor> <start> <inc> <count>\n" \ |
2327 | "Where name is the file name, type can be one of:\n" \ | 2328 | "Where name is the file name, type can be one of:\n" \ |
2328 | " f A regular file\n" \ | 2329 | " f Regular file\n" \ |
2329 | " d Directory\n" \ | 2330 | " d Directory\n" \ |
2330 | " c Character special device file\n" \ | 2331 | " c Character device\n" \ |
2331 | " b Block special device file\n" \ | 2332 | " b Block device\n" \ |
2332 | " p Fifo (named pipe)\n" \ | 2333 | " p Fifo (named pipe)\n" \ |
2333 | "uid is the user id for the target file, gid is the group id for the\n" \ | 2334 | "uid is the user id for the target file, gid is the group id for the\n" \ |
2334 | "target file. The rest of the entries (major, minor, etc) apply to\n" \ | 2335 | "target file. The rest of the entries (major, minor, etc) apply to\n" \ |