Bug 265199

Summary: du.1 doesn't mention --si in SYNOPSIS and is missing -g from some places
Product: Documentation Reporter: наб <nabijaczleweli>
Component: Manual PagesAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: doc, grahamperrin, nabijaczleweli
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch :) none

Description наб 2022-07-13 18:27:35 UTC
Created attachment 235242 [details]
patch :)

See attached patch, output diff:

--- /dev/fd/63	2022-07-13 20:26:54.274901055 +0200
+++ /dev/fd/62	2022-07-13 20:26:54.274901055 +0200
@@ -4,8 +4,9 @@
      du – display disk usage statistics

 SYNOPSIS
-     du [-Aclnx] [-H | -L | -P] [-g | -h | -k | -m] [-a | -s | -d depth]
-	 [-B blocksize] [-I mask] [-t threshold] [file ...]
+     du [-Aclnx] [-H | -L | -P] [-g | -h | -k | -m | --si]
+	 [-a | -s | -d depth] [-B blocksize] [-I mask] [-t threshold]
+	 [file ...]

 DESCRIPTION
      The du utility displays the file system block usage for each file
@@ -20,7 +21,7 @@

      -B blocksize
	      Calculate block counts in blocksize byte blocks.	This is
-	      different from the -h, -k, -m, --si and -g options or setting
+	      different from the -g, -h, -k, -m, and --si options or setting
	      BLOCKSIZE and gives an estimate of how much space the examined
	      file hierarchy would require on a filesystem with the given
	      blocksize.  Unless in -A mode, blocksize is rounded up to the
@@ -89,7 +90,7 @@
      options override each other and the command's actions are determined by
      the last one specified.

-     The -h, -k, -m and --si options all override each other; the last one
+     The -g, -h, -k, -m and --si options all override each other; the last one
      specified determines the block counts used.

 ENVIRONMENT