summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2008-11-20 01:24:39 +0000
committerDenis Vlasenko2008-11-20 01:24:39 +0000
commit9a4c0d59a79efeba4e1c5feed7d07b7c6b6b04ce (patch)
tree666efa8898107af6d15d3b910e5e2459dbea5c33 /include
parent4ae1e13d3f4716a35acf6186f5485e53da39829d (diff)
downloadbusybox-9a4c0d59a79efeba4e1c5feed7d07b7c6b6b04ce.zip
busybox-9a4c0d59a79efeba4e1c5feed7d07b7c6b6b04ce.tar.gz
inotifyd: exit if x event happened for all files
fix FIONREAD parameter type fix default mask code shrink help text function old new delta inotifyd_main 497 506 +9 packed_usage 25446 25431 -15 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 9/-15) Total: -6 bytes
Diffstat (limited to 'include')
-rw-r--r--include/usage.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/usage.h b/include/usage.h
index 9c0c9d7..5223e9e 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1838,16 +1838,11 @@
" ::shutdown:/sbin/swapoff -a\n"
#define inotifyd_trivial_usage \
- "/user/space/agent dir/or/file/being/watched[:mask] ..."
+ "PROG FILE1[:MASK] ..."
#define inotifyd_full_usage "\n\n" \
- "Run userspace agent on filesystem changes." \
- "\nWhen a filesystem event matching the mask occurs" \
- "\non specified file /user/space/agent is run" \
- "\nwith the parameters:" \
- "\n1. actual event(s)" \
- "\n2. file name" \
- "\n3. name of subfile (if any)" \
- "\ninotifyd waits for agent to exit." \
+ "Run PROG on filesystem changes." \
+ "\nWhen a filesystem event matching MASK occurs on FILEn," \
+ "\nPROG <actual_event(s)> <FILEn> [<subfile_name>] is run." \
"\nEvents:" \
"\n a File is accessed" \
"\n c File is modified" \
@@ -1865,6 +1860,9 @@
"\n y Subfile is moved out of dir" \
"\n n Subfile is created" \
"\n d Subfile is deleted" \
+ "\n" \
+ "\ninotifyd waits for PROG to exit." \
+ "\nWhen x event happens for all FILEs, inotifyd exits" \
#define insmod_trivial_usage \
USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..."