[git commit master] flock: better help text

Denys Vlasenko vda.linux at googlemail.com
Fri Mar 19 23:07:11 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=de9e772f46eeba347c21014d4b159f28c2c2d9c1
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 include/usage.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/usage.h b/include/usage.h
index 0aea010..093efc8 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1313,13 +1313,13 @@
      "\n	-v	Verbose" \
 
 #define flock_trivial_usage \
-       "[-sxun] FD|FILE [[-c] PROG ARGS]"
+       "[-sxun] FD|{FILE [-c] PROG ARGS}"
 #define flock_full_usage "\n\n" \
-       "[Un]lock file descriptor or file, then run PROG\n" \
+       "[Un]lock file descriptor, or lock FILE and run PROG\n" \
      "\nOptions:" \
      "\n	-s	Shared lock" \
      "\n	-x	Exclusive lock (default)" \
-     "\n	-u	Remove a lock from FD" \
+     "\n	-u	Unlock FD" \
      "\n	-n	Fail rather than wait" \
 
 #define fold_trivial_usage \
-- 
1.6.3.3



More information about the busybox-cvs mailing list