From 26b6525a51af3eb41db5c4a38ff5fb3398ea4f3e Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 16 Aug 2018 14:00:45 +0200 Subject: fstrim: use -n shortcut for --dry-run It seems 'n' is more common than 'd'. The patch also cleanup getopt_long() options string. Addresses: https://github.com/karelzak/util-linux/commit/fda0e2cf043994c77c29a2d109c03ce8957b1d38#commitcomment-30097920 Signed-off-by: Karel Zak --- sys-utils/fstrim.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/fstrim.8') diff --git a/sys-utils/fstrim.8 b/sys-utils/fstrim.8 index 4e052a546..ff572a44b 100644 --- a/sys-utils/fstrim.8 +++ b/sys-utils/fstrim.8 @@ -60,7 +60,7 @@ The other supplied options, like \fB\-\-offset\fR, \fB\-\-length\fR and \fB-\-minimum\fR, are applied to all these devices. Errors from filesystems that do not support the discard operation are silently ignored. -.IP "\fB\-d, \-\-dry\-run\fP" +.IP "\fB\-n, \-\-dry\-run\fP" This option does everything apart from actually call FITRIM ioctl. .IP "\fB\-o, \-\-offset\fP \fIoffset\fP" Byte offset in the filesystem from which to begin searching for free blocks -- cgit v1.2.3-55-g7522