blob: 5d2038834166d47b4e61a7b4b2c94fa7cf9dc3e2 [file] [log] [blame]
Denis Vlasenko1fffe382006-11-28 00:06:39 +00001/* vi: set sw=8 ts=8: */
Denis Vlasenkoe2d3ded2006-11-27 23:43:28 +00002/*
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 Vlasenko1fffe382006-11-28 00:06:39 +00008 * |<7 spaces>"text with tabs"....
Denis Vlasenkocdf62772008-03-17 08:42:43 +00009 * or
10 * |<5 spaces>"\ntext with tabs"....
Denis Vlasenkoe2d3ded2006-11-27 23:43:28 +000011 */
Denis Vlasenkof81e8db2009-04-09 12:35:13 +000012#ifndef BB_USAGE_H
13#define BB_USAGE_H 1
Eric Andersen178de172004-04-06 16:36:20 +000014
Denis Vlasenko4f98e192008-04-13 22:12:19 +000015#define NOUSAGE_STR "\b"
16
Ron Yorston7b42f8f2018-11-21 10:11:01 +000017#define scripted_trivial_usage NOUSAGE_STR
18#define scripted_full_usage ""
19
Denys Vlasenko9731ca72017-01-20 19:47:49 +010020#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 Vlasenko251e08f2020-12-17 20:53:43 +010028#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 Ponomarev82c5eb82021-08-25 23:12:37 +030034#define STR1(s) #s
35#define STR(s) STR1(s)
36
Denys Vlasenkof0f94702010-06-06 01:53:38 +020037INSERT
38
Rob Landley6130b9b2006-01-23 21:10:38 +000039#define busybox_notes_usage \
Denis Vlasenko1fffe382006-11-28 00:06:39 +000040 "Hello world!\n"
Rob Landley6130b9b2006-01-23 21:10:38 +000041
Denis Vlasenkof81e8db2009-04-09 12:35:13 +000042#endif