diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-06 14:03:27 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-06 14:03:27 +0200 |
commit | fbecca1bed1b6daf10341304af2156baabc7af57 (patch) | |
tree | 8ede3ecea0ce8de7c033b093954c049b1ba7a0c0 /docs/new-applet-HOWTO.txt | |
parent | 9a58cc0f7fbdf967c159588e0de5f3a8dfd87db5 (diff) | |
download | busybox-w32-fbecca1bed1b6daf10341304af2156baabc7af57.tar.gz busybox-w32-fbecca1bed1b6daf10341304af2156baabc7af57.tar.bz2 busybox-w32-fbecca1bed1b6daf10341304af2156baabc7af57.zip |
Tweak outdated documentation and comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'docs/new-applet-HOWTO.txt')
-rw-r--r-- | docs/new-applet-HOWTO.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/new-applet-HOWTO.txt b/docs/new-applet-HOWTO.txt index 078e77bce..619d47fb8 100644 --- a/docs/new-applet-HOWTO.txt +++ b/docs/new-applet-HOWTO.txt | |||
@@ -147,17 +147,17 @@ Placement / Directory | |||
147 | 147 | ||
148 | Find the appropriate directory for your new applet. | 148 | Find the appropriate directory for your new applet. |
149 | 149 | ||
150 | Add the kbuild snippet to the .c file: | ||
151 | |||
152 | //kbuild:lib-$(CONFIG_MU) += mu.o | ||
153 | |||
154 | Add the config snippet to the .c file: | 150 | Add the config snippet to the .c file: |
155 | 151 | ||
156 | //config:config MU | 152 | //config:config MU |
157 | //config: bool "MU" | 153 | //config: bool "MU" |
158 | //config: default y | 154 | //config: default y |
159 | //config: help | 155 | //config: help |
160 | //config: Returns an indeterminate value. | 156 | //config: Returns an indeterminate value. |
157 | |||
158 | Add the kbuild snippet to the .c file: | ||
159 | |||
160 | //kbuild:lib-$(CONFIG_MU) += mu.o | ||
161 | 161 | ||
162 | 162 | ||
163 | Usage String(s) | 163 | Usage String(s) |
@@ -168,8 +168,9 @@ This should look like the following: | |||
168 | 168 | ||
169 | //usage:#define mu_trivial_usage | 169 | //usage:#define mu_trivial_usage |
170 | //usage: "[-abcde] FILE..." | 170 | //usage: "[-abcde] FILE..." |
171 | //usage:#define mu_full_usage | 171 | //usage:#define mu_full_usage "\n\n" |
172 | //usage: "Returns an indeterminate value\n" | 172 | //usage: "Returns an indeterminate value" |
173 | //usage: "\n" | ||
173 | //usage: "\n -a First function" | 174 | //usage: "\n -a First function" |
174 | //usage: "\n -b Second function" | 175 | //usage: "\n -b Second function" |
175 | //usage: ... | 176 | //usage: ... |