diff options
author | Karel Zak | 2018-08-16 14:00:45 +0200 |
---|---|---|
committer | Karel Zak | 2018-08-16 14:00:45 +0200 |
commit | 26b6525a51af3eb41db5c4a38ff5fb3398ea4f3e (patch) | |
tree | 8fa76265b5daa50b879d558ba98b3d2873c052d7 /sys-utils/fstrim.8 | |
parent | Merge branch 'spelling' of https://github.com/jwilk-forks/util-linux (diff) | |
download | kernel-qcow2-util-linux-26b6525a51af3eb41db5c4a38ff5fb3398ea4f3e.tar.gz kernel-qcow2-util-linux-26b6525a51af3eb41db5c4a38ff5fb3398ea4f3e.tar.xz kernel-qcow2-util-linux-26b6525a51af3eb41db5c4a38ff5fb3398ea4f3e.zip |
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 <kzak@redhat.com>
Diffstat (limited to 'sys-utils/fstrim.8')
-rw-r--r-- | sys-utils/fstrim.8 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |