faubackup2/src main.cpp,1.12,1.13
Martin Waitz <[email protected]> Sat, 11 Jun 2005 21:41:58 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26039/src
Modified Files:
main.cpp
Log Message:
use rsync by default
Index: main.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/main.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** main.cpp 10 Jun 2005 14:55:53 -0000 1.12
--- main.cpp 11 Jun 2005 21:41:56 -0000 1.13
***************
*** 25,29 ****
int verbose = 0;
int error = 0;
! int rsync = 0;
int boundaries = 0;
int do_nothing = 0;
--- 25,29 ----
int verbose = 0;
int error = 0;
! int rsync = 1;
int boundaries = 0;
int do_nothing = 0;
***************
*** 62,67 ****
{ "verbose", 'v', 0, 0,
N_("produce verbose output") },
! { "rsync", 'r', 0, 0,
N_("Use Rsync to transfer changed files")},
{ "one-file-system", 'x', 0, 0,
N_("don't cross filesystem boundaries")},
--- 62,69 ----
{ "verbose", 'v', 0, 0,
N_("produce verbose output") },
! { "rsync", 'r', 0, OPTION_HIDDEN,
N_("Use Rsync to transfer changed files")},
+ { "no-rsync", 'R', 0, 0,
+ N_("Don't use Rsync to transfer changed files")},
{ "one-file-system", 'x', 0, 0,
N_("don't cross filesystem boundaries")},
***************
*** 84,87 ****
--- 86,92 ----
rsync = 1;
break;
+ case 'R':
+ rsync = 0;
+ break;
case 'x':
boundaries = 1;
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20