diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 2d784bd84..83c1792ac 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -161,6 +161,7 @@ IF_FLASH_ERASEALL(APPLET(flash_eraseall, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) | |||
161 | IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_lock)) | 161 | IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_lock)) |
162 | IF_FLASH_UNLOCK(APPLET_ODDNAME(flash_unlock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_unlock)) | 162 | IF_FLASH_UNLOCK(APPLET_ODDNAME(flash_unlock, flash_lock_unlock, _BB_DIR_USR_SBIN, _BB_SUID_DROP, flash_unlock)) |
163 | IF_FLASHCP(APPLET(flashcp, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) | 163 | IF_FLASHCP(APPLET(flashcp, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) |
164 | IF_FLOCK(APPLET(flock, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | ||
164 | IF_FOLD(APPLET(fold, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 165 | IF_FOLD(APPLET(fold, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
165 | IF_FREE(APPLET(free, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 166 | IF_FREE(APPLET(free, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
166 | IF_FREERAMDISK(APPLET(freeramdisk, _BB_DIR_SBIN, _BB_SUID_DROP)) | 167 | IF_FREERAMDISK(APPLET(freeramdisk, _BB_DIR_SBIN, _BB_SUID_DROP)) |
diff --git a/include/usage.h b/include/usage.h index f4259a11d..0aea010c7 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1312,6 +1312,16 @@ | |||
1312 | "\nOptions:" \ | 1312 | "\nOptions:" \ |
1313 | "\n -v Verbose" \ | 1313 | "\n -v Verbose" \ |
1314 | 1314 | ||
1315 | #define flock_trivial_usage \ | ||
1316 | "[-sxun] FD|FILE [[-c] PROG ARGS]" | ||
1317 | #define flock_full_usage "\n\n" \ | ||
1318 | "[Un]lock file descriptor or file, then run PROG\n" \ | ||
1319 | "\nOptions:" \ | ||
1320 | "\n -s Shared lock" \ | ||
1321 | "\n -x Exclusive lock (default)" \ | ||
1322 | "\n -u Remove a lock from FD" \ | ||
1323 | "\n -n Fail rather than wait" \ | ||
1324 | |||
1315 | #define fold_trivial_usage \ | 1325 | #define fold_trivial_usage \ |
1316 | "[-bs] [-w WIDTH] [FILE]..." | 1326 | "[-bs] [-w WIDTH] [FILE]..." |
1317 | #define fold_full_usage "\n\n" \ | 1327 | #define fold_full_usage "\n\n" \ |