@@ -53,6 +53,9 @@ Options
*-c, \--cachedir <dir>*::
Scan 'dir' instead as the pacman cache for 3-way merge base candidates.
+*-s, \--sudo*::
+ Use sudo to merge/remove files.
+
See Also
--------
linkman:pacman[8], linkman:pacman.conf[5]
@@ -60,7 +60,7 @@ General Options:
--nocolor remove colors from output
-c/--cachedir <dir> scan "dir" for 3-way merge base candidates.
(default: read from @sysconfdir@/pacman.conf)
- -s/--sudo use sudo to merge/remove files
+ -s/--sudo use sudo to merge/remove files
Environment Variables:
DIFFPROG override the merge program: (default: 'vim -d')
In 19ab4fa (pacdiff: Add option to use sudo/sudoedit to manage files, 2021-03-27), the --sudo option was introduced. However, a corresponding entry was not included in the man page. Document it. Also, align the usage text in the program with its friends above. Signed-off-by: Denton Liu <liu.denton@gmail.com> --- doc/pacdiff.8.txt | 3 +++ src/pacdiff.sh.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)