]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fstrim: fix SYNOPSIS/usage (mandatory fstrim -A|-a|mountpoint)
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Mon, 23 Dec 2024 04:54:03 +0000 (05:54 +0100)
committerнаб <nabijaczleweli@nabijaczleweli.xyz>
Mon, 23 Dec 2024 04:54:03 +0000 (05:54 +0100)
sys-utils/fstrim.8.adoc
sys-utils/fstrim.c

index 2897da15ce70882a4a9eeb23b2cf1eb5650aa938..a756546b1794f351571385709fe5cc00e2d84607 100644 (file)
@@ -12,7 +12,7 @@ fstrim - discard unused blocks on a mounted filesystem
 
 == SYNOPSIS
 
-*fstrim* [*-Aav*] [*-o* _offset_] [*-l* _length_] [*-m* _minimum-size_] [_mountpoint_]
+*fstrim* [*-v*] [*-o* _offset_] [*-l* _length_] [*-m* _minimum-size_] *-A*|*-a*|_mountpoint_
 
 == DESCRIPTION
 
index 446217e71dc9e57d6e7139b75b059f04b627481a..2ae3480b8f9bc0fb9af06f60f30c9861f35f39fe 100644 (file)
@@ -451,7 +451,7 @@ static void __attribute__((__noreturn__)) usage(void)
        FILE *out = stdout;
        fputs(USAGE_HEADER, out);
        fprintf(out,
-             _(" %s [options] <mount point>\n"), program_invocation_short_name);
+             _(" %s [options] <-A|-a|mount point>\n"), program_invocation_short_name);
 
        fputs(USAGE_SEPARATOR, out);
        fputs(_("Discard unused blocks on a mounted filesystem.\n"), out);