doc: improve sample backup script
authorJim Meyering <meyering@redhat.com>
Fri, 29 Jun 2012 08:45:31 +0000 (10:45 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 30 Jun 2012 09:00:32 +0000 (11:00 +0200)
commit5f6c22fceedd0d350e1a8246d4d73840de666c7e
treef9f1a5dbf0856d591f3d9fc103b2c3349f817710
parent5958bb44c4d7cf3b69bb62955b3ece9d0715eb60
doc: improve sample backup script

* doc/coreutils.texi (cp invocation): Make the backup script exit
with an accurate reflection of any failure.
Also, add --preserve=all.

Improved-by: Bernhard Voelker
doc/coreutils.texi