Dependable-Mike wrote:
What about adding the version number info into the -v (Verbose Output) area?
That way by running the verbose output on a recovery, you could see at a
glance exactly which version you were running without having to scroll
anywhere! Seems to me like a much better place for it than adding it into
the -h (Help area). Obviously -V (Version) will still serve a purpose like
it does now, but adding the version info into the verbose output could make
things even more intuitive!

This is a good idea! It does not interfere with man page creation, and is so easy to implement that I have implemented it as I read your message. :-)

-----------------------------------------------------------
$ ddrescue -vfs1 /dev/zero /dev/null

GNU ddrescue 1.15-rc2
About to copy 1 Bytes from /dev/zero to /dev/null
    Starting positions: infile = 0 B,  outfile = 0 B
    Copy block size: 128 sectors
Sector size: 512 Bytes
Max retries: 0
Direct: no    Sparse: no    Split: yes    Truncate: no

Press Ctrl-C to interrupt
rescued:         1 B,  errsize:       0 B,  current rate:        1 B/s
   ipos:         0 B,   errors:       0,    average rate:        1 B/s
   opos:         0 B,     time from last successful read:       0 s
Finished
$
-----------------------------------------------------------

It will be available in the next release of ddrescue.


Best regards,
Antonio.

_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to