diff options
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r-- | miscutils/makedevs.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index c8206e020..5072095b5 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -17,8 +17,9 @@ | |||
17 | #include <sys/stat.h> | 17 | #include <sys/stat.h> |
18 | 18 | ||
19 | static const char makedevs_usage[] = | 19 | static const char makedevs_usage[] = |
20 | "makedevs NAME TYPE MAJOR MINOR FIRST LAST [s]\n\n" | 20 | "makedevs NAME TYPE MAJOR MINOR FIRST LAST [s]\n" |
21 | "Creates a range of block or character special files\n\n" | 21 | #ifndef BB_FEATURE_TRIVIAL_HELP |
22 | "\nCreates a range of block or character special files\n\n" | ||
22 | "TYPEs include:\n" | 23 | "TYPEs include:\n" |
23 | "\tb:\tMake a block (buffered) device.\n" | 24 | "\tb:\tMake a block (buffered) device.\n" |
24 | "\tc or u:\tMake a character (un-buffered) device.\n" | 25 | "\tc or u:\tMake a character (un-buffered) device.\n" |
@@ -28,7 +29,9 @@ static const char makedevs_usage[] = | |||
28 | "If 's' is the last argument, the base device is created as well.\n\n" | 29 | "If 's' is the last argument, the base device is created as well.\n\n" |
29 | "For example:\n" | 30 | "For example:\n" |
30 | "\tmakedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n" | 31 | "\tmakedevs /dev/ttyS c 4 66 2 63 -> ttyS2-ttyS63\n" |
31 | "\tmakedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8\n"; | 32 | "\tmakedevs /dev/hda b 3 0 0 8 s -> hda,hda1-hda8\n" |
33 | #endif | ||
34 | ; | ||
32 | 35 | ||
33 | int makedevs_main(int argc, char **argv) | 36 | int makedevs_main(int argc, char **argv) |
34 | { | 37 | { |