diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /miscutils/makedevs.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r-- | miscutils/makedevs.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 5072095b5..99dbc0bd5 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -16,23 +16,6 @@ | |||
16 | #include <sys/types.h> | 16 | #include <sys/types.h> |
17 | #include <sys/stat.h> | 17 | #include <sys/stat.h> |
18 | 18 | ||
19 | static const char makedevs_usage[] = | ||
20 | "makedevs NAME TYPE MAJOR MINOR FIRST LAST [s]\n" | ||
21 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
22 | "\nCreates a range of block or character special files\n\n" | ||
23 | "TYPEs include:\n" | ||
24 | "\tb:\tMake a block (buffered) device.\n" | ||
25 | "\tc or u:\tMake a character (un-buffered) device.\n" | ||
26 | "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes.\n\n" | ||
27 | "FIRST specifies the number appended to NAME to create the first device.\n" | ||
28 | "LAST specifies the number of the last item that should be created.\n" | ||
29 | "If 's' is the last argument, the base device is created as well.\n\n" | ||
30 | "For example:\n" | ||
31 | "\tmakedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n" | ||
32 | "\tmakedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8\n" | ||
33 | #endif | ||
34 | ; | ||
35 | |||
36 | int makedevs_main(int argc, char **argv) | 19 | int makedevs_main(int argc, char **argv) |
37 | { | 20 | { |
38 | 21 | ||