From 9564d5515779ace81f3458012b28dc06a67b0259 Mon Sep 17 00:00:00 2001 From: "Paul C. Buetow (mars.fritz.box)" Date: Sat, 21 Jun 2014 11:21:56 +0200 Subject: updte documentation --- docs/netdiff.1 | 8 +++++++- docs/netdiff.pod | 6 +++++- docs/netdiff.txt | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/netdiff.1 b/docs/netdiff.1 index 2714df0..fb43404 100644 --- a/docs/netdiff.1 +++ b/docs/netdiff.1 @@ -136,7 +136,7 @@ This is very helpfull if you want to find out any difference of these two hosts. .SS "\s-1SYNOPSYS\s0" .IX Subsection "SYNOPSYS" .Vb 1 -\& netdiff HOSTNAME PATH [ADDITIONAL DIFF OPTS] +\& netdiff HOSTNAME PATH [PORT] [ADDITIONAL DIFF OPTS] .Ve .SS "\s-1USAGE\s0" .IX Subsection "USAGE" @@ -152,6 +152,12 @@ Where \s-1HOSTNAME\s0 can be the hostname of the first or the second host. Depen And where \s-1PATH\s0 musst be a full qualified path to a file or a directory. .PP Netdiff transfers everything in \s-1PATH\s0 (recursively and encrypted via OpenSSL/AES) to the other host and computes a diff of it. +.PP +If no port is specified the default port will be used, which is defined in +.PP +.Vb 1 +\& /etc/default/netdiff +.Ve .SS "\s-1EXAMPLE\s0" .IX Subsection "EXAMPLE" A common use case is to find out the differences of the \s-1PAM\s0 configuration. On most systems the \s-1PAM\s0 configuration is spread into several small configuration files which are hard to compare by hand between two hosts. diff --git a/docs/netdiff.pod b/docs/netdiff.pod index c4aa53c..4187289 100644 --- a/docs/netdiff.pod +++ b/docs/netdiff.pod @@ -6,7 +6,7 @@ This is very helpfull if you want to find out any difference of these two hosts. =head2 SYNOPSYS - netdiff HOSTNAME PATH [ADDITIONAL DIFF OPTS] + netdiff HOSTNAME PATH [PORT] [ADDITIONAL DIFF OPTS] =head2 USAGE @@ -21,6 +21,10 @@ And where PATH musst be a full qualified path to a file or a directory. Netdiff transfers everything in PATH (recursively and encrypted via OpenSSL/AES) to the other host and computes a diff of it. +If no port is specified the default port will be used, which is defined in + + /etc/default/netdiff + =head2 EXAMPLE A common use case is to find out the differences of the PAM configuration. On most systems the PAM configuration is spread into several small configuration files which are hard to compare by hand between two hosts. diff --git a/docs/netdiff.txt b/docs/netdiff.txt index 9f659a6..481d2eb 100644 --- a/docs/netdiff.txt +++ b/docs/netdiff.txt @@ -6,7 +6,7 @@ NAME two hosts. SYNOPSYS - netdiff HOSTNAME PATH [ADDITIONAL DIFF OPTS] + netdiff HOSTNAME PATH [PORT] [ADDITIONAL DIFF OPTS] USAGE Cluster-SSH into two hosts at the same time and run on both hosts the @@ -23,6 +23,11 @@ NAME Netdiff transfers everything in PATH (recursively and encrypted via OpenSSL/AES) to the other host and computes a diff of it. + If no port is specified the default port will be used, which is defined + in + + /etc/default/netdiff + EXAMPLE A common use case is to find out the differences of the PAM configuration. On most systems the PAM configuration is spread into -- cgit v1.2.3