aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-13 22:34:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-13 22:34:05 +0100
commit84d5eddb25930ee8a5ff96536ca6f707d793eb24 (patch)
tree21406cb8b2a2661459e3aba4428e74995d69368d /util-linux
parent63139b531f7f1d71d8274810b163da1a78d4609e (diff)
downloadbusybox-w32-84d5eddb25930ee8a5ff96536ca6f707d793eb24.tar.gz
busybox-w32-84d5eddb25930ee8a5ff96536ca6f707d793eb24.tar.bz2
busybox-w32-84d5eddb25930ee8a5ff96536ca6f707d793eb24.zip
help text: replace [OPTIONS] with actual options (if not too long)
function old new delta packed_usage 33620 33665 +45 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fstrim.c8
-rw-r--r--util-linux/umount.c8
2 files changed, 4 insertions, 12 deletions
diff --git a/util-linux/fstrim.c b/util-linux/fstrim.c
index 8d29a6d54..6d673002f 100644
--- a/util-linux/fstrim.c
+++ b/util-linux/fstrim.c
@@ -20,18 +20,10 @@
20//usage:#define fstrim_trivial_usage 20//usage:#define fstrim_trivial_usage
21//usage: "[OPTIONS] MOUNTPOINT" 21//usage: "[OPTIONS] MOUNTPOINT"
22//usage:#define fstrim_full_usage "\n\n" 22//usage:#define fstrim_full_usage "\n\n"
23//usage: IF_LONG_OPTS(
24//usage: " -o,--offset OFFSET Offset in bytes to discard from"
25//usage: "\n -l,--length LEN Bytes to discard"
26//usage: "\n -m,--minimum MIN Minimum extent length"
27//usage: "\n -v,--verbose Print number of discarded bytes"
28//usage: )
29//usage: IF_NOT_LONG_OPTS(
30//usage: " -o OFFSET Offset in bytes to discard from" 23//usage: " -o OFFSET Offset in bytes to discard from"
31//usage: "\n -l LEN Bytes to discard" 24//usage: "\n -l LEN Bytes to discard"
32//usage: "\n -m MIN Minimum extent length" 25//usage: "\n -m MIN Minimum extent length"
33//usage: "\n -v Print number of discarded bytes" 26//usage: "\n -v Print number of discarded bytes"
34//usage: )
35 27
36#include "libbb.h" 28#include "libbb.h"
37#include <linux/fs.h> 29#include <linux/fs.h>
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 63a3bf504..23da32868 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -41,16 +41,16 @@
41//kbuild:lib-$(CONFIG_UMOUNT) += umount.o 41//kbuild:lib-$(CONFIG_UMOUNT) += umount.o
42 42
43//usage:#define umount_trivial_usage 43//usage:#define umount_trivial_usage
44//usage: "[OPTIONS] FILESYSTEM|DIRECTORY" 44//usage: "[-rlf"IF_FEATURE_MTAB_SUPPORT("m")IF_FEATURE_MOUNT_LOOP("d")IF_FEATURE_UMOUNT_ALL("a")"] [-t FSTYPE] FILESYSTEM|DIRECTORY"
45//usage:#define umount_full_usage "\n\n" 45//usage:#define umount_full_usage "\n\n"
46//usage: "Unmount file systems\n" 46//usage: "Unmount filesystems\n"
47//usage: IF_FEATURE_UMOUNT_ALL( 47//usage: IF_FEATURE_UMOUNT_ALL(
48//usage: "\n -a Unmount all file systems" IF_FEATURE_MTAB_SUPPORT(" in /etc/mtab") 48//usage: "\n -a Unmount all filesystems" IF_FEATURE_MTAB_SUPPORT(" in /etc/mtab")
49//usage: ) 49//usage: )
50//usage: IF_FEATURE_MTAB_SUPPORT( 50//usage: IF_FEATURE_MTAB_SUPPORT(
51//usage: "\n -n Don't erase /etc/mtab entries" 51//usage: "\n -n Don't erase /etc/mtab entries"
52//usage: ) 52//usage: )
53//usage: "\n -r Try to remount devices as read-only if mount is busy" 53//usage: "\n -r Remount devices read-only if mount is busy"
54//usage: "\n -l Lazy umount (detach filesystem)" 54//usage: "\n -l Lazy umount (detach filesystem)"
55//usage: "\n -f Force umount (i.e., unreachable NFS server)" 55//usage: "\n -f Force umount (i.e., unreachable NFS server)"
56//usage: IF_FEATURE_MOUNT_LOOP( 56//usage: IF_FEATURE_MOUNT_LOOP(