From 892d4b6b3d7e9950ff3708ca957e1e0590dd5a2d Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Thu, 18 Mar 2010 22:45:35 +0100 Subject: flock: new applet function old new delta flock_main - 253 +253 packed_usage 26466 26498 +32 applet_names 2170 2176 +6 applet_main 1280 1284 +4 applet_nameofs 640 642 +2 applet_install_loc 160 161 +1 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 298/0) Total: 298 bytes Signed-off-by: Timo Teras Signed-off-by: Denys Vlasenko --- include/usage.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/usage.h') diff --git a/include/usage.h b/include/usage.h index f4259a1..0aea010 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1312,6 +1312,16 @@ "\nOptions:" \ "\n -v Verbose" \ +#define flock_trivial_usage \ + "[-sxun] FD|FILE [[-c] PROG ARGS]" +#define flock_full_usage "\n\n" \ + "[Un]lock file descriptor or file, then run PROG\n" \ + "\nOptions:" \ + "\n -s Shared lock" \ + "\n -x Exclusive lock (default)" \ + "\n -u Remove a lock from FD" \ + "\n -n Fail rather than wait" \ + #define fold_trivial_usage \ "[-bs] [-w WIDTH] [FILE]..." #define fold_full_usage "\n\n" \ -- cgit v1.1