aboutsummaryrefslogtreecommitdiff
path: root/console-tools/loadfont.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-03-27 23:42:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-28 02:51:01 +0200
commit55068c478ee8e8c058b0c9e37ce0ca57612c95b1 (patch)
tree31db732832446b4c231ecb2752279728ae9b9824 /console-tools/loadfont.c
parent6ec1510f719ad7463d76eea9284428cc605d6b38 (diff)
downloadbusybox-55068c478ee8e8c058b0c9e37ce0ca57612c95b1.tar.gz
move help text from include/usage.src.h to console-tools/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r--console-tools/loadfont.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index 079626c20..588322b05 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -9,6 +9,16 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
+
+//usage:#define loadfont_trivial_usage
+//usage: "< font"
+//usage:#define loadfont_full_usage "\n\n"
+//usage: "Load a console font from stdin"
+/* //usage: "\n -C TTY Affect TTY instead of /dev/tty" */
+//usage:
+//usage:#define loadfont_example_usage
+//usage: "$ loadfont < /etc/i18n/fontname\n"
+
#include "libbb.h"
#include <sys/kd.h>