added many comments
[oweals/gnunet.git] / doc / man / gnunet-peerinfo.1
index 99a56007583a5c15343d93b021e7f5c65ef14dfb..6d89f461ac1ec885a284fc96b32576ad63fb9907 100644 (file)
@@ -1,4 +1,4 @@
-.TH GNUNET\-PEERINFO 1 "Mar 15, 2009" "GNUnet"
+.TH GNUNET\-PEERINFO 1 "Mar 4, 2013" "GNUnet"
 
 .SH NAME
 gnunet\-peerinfo \- Display information about other peers.
@@ -10,19 +10,34 @@ gnunet\-peerinfo \- Display information about other peers.
 
 .SH DESCRIPTION
 .PP
-\fBgnunet\-peerinfo\fP display the known addresses and trust of known peers.  The tool can also be used to change the amount of trust we have in another peer.  For this, the options should be first the amount of trust changed (prefix it with "\-\- " if the amount is negative) followed by the peer identity.
+\fBgnunet\-peerinfo\fP display the known addresses and trust of known peers.
 
 .SH OPTIONS
 .B
 .IP "\-c FILENAME, \-\-config=FILENAME"
-Load config file (default: ~/.gnunet/gnunet.conf)
+Load config file (default: ~/.config/gnunet.conf)
+.B
+.IP "\-g, \-\-get\-hello
+Output HELLO uri(s)
 .B
 .IP "\-h, \-\-help"
 Print help page
 .B
+.IP "\-i, \-\-info"
+List all known peers (and their addresses)
+.B
+.IP "\-L LOGLEVEL, \-\-loglevel=LOGLEVEL"
+Set the loglevel
+.B
+.IP "\-l LOGFILE, \-\-logfile=LOGFILE"
+Log messages to LOGFILE
+.B
 .IP "\-n, \-\-numeric"
 Disable resolution of IPs to hostnames
 .B
+.IP "\-p, \-\-put\-hello=HELLO
+Add given HELLO uri to the database
+.B
 .IP "\-q, \-\-quiet"
 Do not print anything but the peer identities
 .B
@@ -31,19 +46,6 @@ Print only our own identity (together with "\-q", this is the exact line that ot
 .B
 .IP "\-v, \-\-version"
 Print the version number
-.B
-.IP "\-L LOGLEVEL, \-\-loglelvel=LOGLEVEL"
-Set the loglevel
-
-.SH EXAMPLE
-.TP
-gnunet\-peerinfo 4 S9LBDF6V770H8CELVKBFJMOTS25LB272JB81MRJHSRJI9B1FBVOSGJVSEIRIS5J4SRDU4HT3TBPLM4MNEND7FFUHMGCK4NBR8R2UTSG
-Increase the trust in a peer by 4
-.TP
-gnunet\-peerinfo \-\- \-2 S9LBDF6V770H8CELVKBFJMOTS25LB272JB81MRJHSRJI9B1FBVOSGJVSEIRIS5J4SRDU4HT3TBPLM4MNEND7FFUHMGCK4NBR8R2UTSG
-Decrease the trust in a peer by 2
-
-
 
 
 .SH BUGS