flock: better help text
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 19 Mar 2010 23:07:11 +0000 (00:07 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 19 Mar 2010 23:07:11 +0000 (00:07 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/usage.h

index 0aea010c7cd42f2e67038c9f0b4d5444acc2fc1d..093efc8c40a2bcb4e8978c93685924beb0c690e3 100644 (file)
      "\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 \