docs: add progress-bar option to coreutils.texi references

This commit is contained in:
Sean Link
2026-07-23 09:47:43 -06:00
parent 8dc8419e5d
commit 21556b579c
+35 -8
View File
@@ -1,5 +1,5 @@
--- coreutils-9.11/src/copy-file-data.c 2026-07-23 09:27:30.903271888 -0600
+++ coreutils-9.11k/src/copy-file-data.c 2026-07-23 09:27:30.966038916 -0600
--- coreutils-9.11/src/copy-file-data.c 2026-07-23 09:47:29.805900811 -0600
+++ coreutils-9.11k/src/copy-file-data.c 2026-07-23 09:47:29.837329370 -0600
@@ -28,6 +28,153 @@
#include "full-write.h"
#include "ioblksize.h"
@@ -504,8 +504,8 @@
alignfree (buf);
return result;
}
--- coreutils-9.11/src/copy.h 2026-07-23 09:27:30.903324814 -0600
+++ coreutils-9.11k/src/copy.h 2026-07-23 09:27:30.966068212 -0600
--- coreutils-9.11/src/copy.h 2026-07-23 09:47:29.805951169 -0600
+++ coreutils-9.11k/src/copy.h 2026-07-23 09:47:29.837358788 -0600
@@ -255,6 +255,9 @@
Create destination directories as usual. */
bool symbolic_link;
@@ -549,8 +549,8 @@
+/* END progress mod */
+
#endif
--- coreutils-9.11/src/cp.c 2026-07-23 09:27:30.903767544 -0600
+++ coreutils-9.11k/src/cp.c 2026-07-23 09:27:30.966085543 -0600
--- coreutils-9.11/src/cp.c 2026-07-23 09:47:29.806107878 -0600
+++ coreutils-9.11k/src/cp.c 2026-07-23 09:47:29.837379316 -0600
@@ -141,6 +141,7 @@
{"symbolic-link", no_argument, NULL, 's'},
{"target-directory", required_argument, NULL, 't'},
@@ -743,8 +743,8 @@
x.backup_type = (make_backups
? xget_version (_("backup type"),
version_control_string)
--- coreutils-9.11/src/mv.c 2026-07-23 09:27:30.908840071 -0600
+++ coreutils-9.11k/src/mv.c 2026-07-23 09:27:30.966107690 -0600
--- coreutils-9.11/src/mv.c 2026-07-23 09:47:29.807078459 -0600
+++ coreutils-9.11k/src/mv.c 2026-07-23 09:47:29.837402508 -0600
@@ -80,6 +80,7 @@
{"target-directory", required_argument, NULL, 't'},
{"update", optional_argument, NULL, 'u'},
@@ -903,3 +903,30 @@
case 'i':
x.interactive = I_ASK_USER;
break;
--- coreutils-9.11/doc/coreutils.texi 2026-07-23 09:47:29.758119162 -0600
+++ coreutils-9.11k/doc/coreutils.texi 2026-07-23 09:47:29.838680665 -0600
@@ -8825,6 +8825,11 @@
This option is ignored when the @option{--no-clobber} or @option{-n} option
is also used.
+@optItem{cp,-g,}
+@optItemx{cp,--progress-bar,}
+Display a progress bar while copying, showing the percentage complete,
+copy speed, estimated time remaining, and per-file and overall progress.
+
@optItem{cp,-i,}
@optItemx{cp,--interactive,}
When copying a file other than a directory, prompt whether to
@@ -9995,6 +10000,12 @@
@end macro
@mvOptsIfn
+@optItem{mv,-g,}
+@optItemx{mv,--progress-bar,}
+Display a progress bar while moving files across file systems, showing the
+percentage complete, copy speed, estimated time remaining, and per-file and
+overall progress.
+
@optItem{mv,-i,}
@optItemx{mv,--interactive,}
@cindex prompts, forcing