diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /miscutils/inotifyd.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-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/inotifyd.c')
-rw-r--r-- | miscutils/inotifyd.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/miscutils/inotifyd.c b/miscutils/inotifyd.c index fe429b636..b64e0abb9 100644 --- a/miscutils/inotifyd.c +++ b/miscutils/inotifyd.c | |||
@@ -27,6 +27,33 @@ | |||
27 | * See below for mask names explanation. | 27 | * See below for mask names explanation. |
28 | */ | 28 | */ |
29 | 29 | ||
30 | //usage:#define inotifyd_trivial_usage | ||
31 | //usage: "PROG FILE1[:MASK]..." | ||
32 | //usage:#define inotifyd_full_usage "\n\n" | ||
33 | //usage: "Run PROG on filesystem changes." | ||
34 | //usage: "\nWhen a filesystem event matching MASK occurs on FILEn," | ||
35 | //usage: "\nPROG ACTUAL_EVENTS FILEn [SUBFILE] is run." | ||
36 | //usage: "\nEvents:" | ||
37 | //usage: "\n a File is accessed" | ||
38 | //usage: "\n c File is modified" | ||
39 | //usage: "\n e Metadata changed" | ||
40 | //usage: "\n w Writable file is closed" | ||
41 | //usage: "\n 0 Unwritable file is closed" | ||
42 | //usage: "\n r File is opened" | ||
43 | //usage: "\n D File is deleted" | ||
44 | //usage: "\n M File is moved" | ||
45 | //usage: "\n u Backing fs is unmounted" | ||
46 | //usage: "\n o Event queue overflowed" | ||
47 | //usage: "\n x File can't be watched anymore" | ||
48 | //usage: "\nIf watching a directory:" | ||
49 | //usage: "\n m Subfile is moved into dir" | ||
50 | //usage: "\n y Subfile is moved out of dir" | ||
51 | //usage: "\n n Subfile is created" | ||
52 | //usage: "\n d Subfile is deleted" | ||
53 | //usage: "\n" | ||
54 | //usage: "\ninotifyd waits for PROG to exit." | ||
55 | //usage: "\nWhen x event happens for all FILEs, inotifyd exits." | ||
56 | |||
30 | #include "libbb.h" | 57 | #include "libbb.h" |
31 | #include <sys/inotify.h> | 58 | #include <sys/inotify.h> |
32 | 59 | ||