summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-12-01 18:29:18 +0000
committerWayne Davison <wayned@samba.org>2006-12-01 18:29:18 +0000
commitd619ff1376cf0a55ff2fa0a6baa776f22cac5139 (patch)
treeaf8e23482fba8bd3d90d79955ebe8a7507763935 /options.c
parentdb0f7613e19253fce9de275ebf00bc04e23bc537 (diff)
downloadrsync-d619ff1376cf0a55ff2fa0a6baa776f22cac5139.tar.gz
Change the format/order of the capabilities --version outputs.
Diffstat (limited to 'options.c')
-rw-r--r--options.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/options.c b/options.c
index f1538e80..3c5ecb5e 100644
--- a/options.c
+++ b/options.c
@@ -227,19 +227,15 @@ static void print_rsync_version(enum logcode f)
RSYNC_NAME, RSYNC_VERSION, PROTOCOL_VERSION);
rprintf(f, "Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.\n");
rprintf(f, "<http://rsync.samba.org/>\n");
- rprintf(f, "Capabilities: %d-bit files, %ssocketpairs, "
- "%shard links, %ssymlinks, batchfiles,\n",
- (int) (sizeof (OFF_T) * 8),
- got_socketpair, hardlinks, links);
-
- /* Note that this field may not have type ino_t. It depends
- * on the complicated interaction between largefile feature
- * macros. */
- rprintf(f, " %sinplace, %sIPv6, "
- "%d-bit system inums, %d-bit internal inums\n",
- have_inplace, ipv6,
- (int) (sizeof dumstat->st_ino * 8),
- (int) (sizeof (int64) * 8));
+ rprintf(f, "Capabilities: %d-bit files, %d-bit system inums, %d-bit internal inums,\n",
+ (int)(sizeof (OFF_T) * 8),
+ (int)(sizeof dumstat->st_ino * 8), /* Don't check ino_t! */
+ (int)(sizeof (int64) * 8));
+ rprintf(f, " %ssocketpairs, %shardlinks, %ssymlinks, %sIPv6, batchfiles, %sinplace,\n",
+ got_socketpair, hardlinks, links, ipv6, have_inplace);
+ rprintf(f, " %sappend\n",
+ have_inplace);
+
#ifdef MAINTAINER_MODE
rprintf(f, "Panic Action: \"%s\"\n", get_panic_action());
#endif