Denis Vlasenko | 1fffe38 | 2006-11-28 00:06:39 +0000 | [diff] [blame] | 1 | /* vi: set sw=8 ts=8: */ |
Denis Vlasenko | e2d3ded | 2006-11-27 23:43:28 +0000 | [diff] [blame] | 2 | /* |
| 3 | * This file suffers from chronically incorrect tabification |
| 4 | * of messages. Before editing this file: |
| 5 | * 1. Switch you editor to 8-space tab mode. |
| 6 | * 2. Do not use \t in messages, use real tab character. |
| 7 | * 3. Start each source line with message as follows: |
Denis Vlasenko | 1fffe38 | 2006-11-28 00:06:39 +0000 | [diff] [blame] | 8 | * |<7 spaces>"text with tabs".... |
Denis Vlasenko | cdf6277 | 2008-03-17 08:42:43 +0000 | [diff] [blame] | 9 | * or |
| 10 | * |<5 spaces>"\ntext with tabs".... |
Denis Vlasenko | e2d3ded | 2006-11-27 23:43:28 +0000 | [diff] [blame] | 11 | */ |
Denis Vlasenko | f81e8db | 2009-04-09 12:35:13 +0000 | [diff] [blame] | 12 | #ifndef BB_USAGE_H |
| 13 | #define BB_USAGE_H 1 |
Eric Andersen | 178de17 | 2004-04-06 16:36:20 +0000 | [diff] [blame] | 14 | |
Denis Vlasenko | 4f98e19 | 2008-04-13 22:12:19 +0000 | [diff] [blame] | 15 | #define NOUSAGE_STR "\b" |
| 16 | |
Ron Yorston | 7b42f8f | 2018-11-21 10:11:01 +0000 | [diff] [blame] | 17 | #define scripted_trivial_usage NOUSAGE_STR |
| 18 | #define scripted_full_usage "" |
| 19 | |
Denys Vlasenko | 9731ca7 | 2017-01-20 19:47:49 +0100 | [diff] [blame] | 20 | #if !ENABLE_USE_BB_CRYPT || ENABLE_USE_BB_CRYPT_SHA |
| 21 | # define CRYPT_METHODS_HELP_STR "des,md5,sha256/512" \ |
| 22 | " (default "CONFIG_FEATURE_DEFAULT_PASSWD_ALGO")" |
| 23 | #else |
| 24 | # define CRYPT_METHODS_HELP_STR "des,md5" \ |
| 25 | " (default "CONFIG_FEATURE_DEFAULT_PASSWD_ALGO")" |
| 26 | #endif |
| 27 | |
Denys Vlasenko | 251e08f | 2020-12-17 20:53:43 +0100 | [diff] [blame] | 28 | #if ENABLE_FEATURE_HWCLOCK_ADJTIME_FHS |
| 29 | # define ADJTIME_PATH "/var/lib/hwclock/adjtime" |
| 30 | #else |
| 31 | # define ADJTIME_PATH "/etc/adjtime" |
| 32 | #endif |
| 33 | |
Sergey Ponomarev | 82c5eb8 | 2021-08-25 23:12:37 +0300 | [diff] [blame] | 34 | #define STR1(s) #s |
| 35 | #define STR(s) STR1(s) |
| 36 | |
Denys Vlasenko | f0f9470 | 2010-06-06 01:53:38 +0200 | [diff] [blame] | 37 | INSERT |
| 38 | |
Rob Landley | 6130b9b | 2006-01-23 21:10:38 +0000 | [diff] [blame] | 39 | #define busybox_notes_usage \ |
Denis Vlasenko | 1fffe38 | 2006-11-28 00:06:39 +0000 | [diff] [blame] | 40 | "Hello world!\n" |
Rob Landley | 6130b9b | 2006-01-23 21:10:38 +0000 | [diff] [blame] | 41 | |
Denis Vlasenko | f81e8db | 2009-04-09 12:35:13 +0000 | [diff] [blame] | 42 | #endif |