summaryrefslogtreecommitdiff
path: root/miscutils/wall.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /miscutils/wall.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
downloadbusybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz
busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2
busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/wall.c')
-rw-r--r--miscutils/wall.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/miscutils/wall.c b/miscutils/wall.c
index 0a2b89e5e..762f53b72 100644
--- a/miscutils/wall.c
+++ b/miscutils/wall.c
@@ -6,6 +6,15 @@
6 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 6 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
7 */ 7 */
8 8
9//usage:#define wall_trivial_usage
10//usage: "[FILE]"
11//usage:#define wall_full_usage "\n\n"
12//usage: "Write content of FILE or stdin to all logged-in users"
13//usage:
14//usage:#define wall_sample_usage
15//usage: "echo foo | wall\n"
16//usage: "wall ./mymessage"
17
9#include "libbb.h" 18#include "libbb.h"
10 19
11int wall_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 20int wall_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;