aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-11-20 20:27:49 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-11-20 20:27:49 +0900
commit8a3e6b3f73477588e73f197ea721dedf1f763490 (patch)
treed684262a250630b5d87063b10e3d19207272b27a /doc
parent5af36f7f2a3992c1705ec1f8b178fe7d95a48c47 (diff)
downloadgnunet-8a3e6b3f73477588e73f197ea721dedf1f763490.tar.gz
gnunet-8a3e6b3f73477588e73f197ea721dedf1f763490.zip
- add test; update manpage
Diffstat (limited to 'doc')
-rw-r--r--doc/man/gnunet-namestore.132
1 files changed, 31 insertions, 1 deletions
diff --git a/doc/man/gnunet-namestore.1 b/doc/man/gnunet-namestore.1
index 9391e21bb..c70e4499d 100644
--- a/doc/man/gnunet-namestore.1
+++ b/doc/man/gnunet-namestore.1
@@ -46,6 +46,7 @@
46.Op Fl r Ar PKEY | Fl -reverse= Ns Ar PKEY 46.Op Fl r Ar PKEY | Fl -reverse= Ns Ar PKEY
47.Op Fl R Ar RECORDLINE | Fl -replace= Ns Ar RECORDLINE 47.Op Fl R Ar RECORDLINE | Fl -replace= Ns Ar RECORDLINE
48.Op Fl s | -shadow 48.Op Fl s | -shadow
49.Op Fl S | -from-stdin
49.Op Fl T | -include-maintenance 50.Op Fl T | -include-maintenance
50.Op Fl t Ar TYPE | Fl -type= Ns Ar TYPE 51.Op Fl t Ar TYPE | Fl -type= Ns Ar TYPE
51.Op Fl u Ar URI | Fl -uri= Ns Ar URI 52.Op Fl u Ar URI | Fl -uri= Ns Ar URI
@@ -119,6 +120,12 @@ The VALUE follows the usual human-readable value format(s) of DNS/GNS.
119Create a record that is a shadow record. 120Create a record that is a shadow record.
120Shadow records are only used once all other records of the same type 121Shadow records are only used once all other records of the same type
121under the same label have expired. 122under the same label have expired.
123.It Fl S | -from-stdin
124This reads commands from stdin until EOF is encountered.
125The commands are formatted like the arguments used for gnunet-namestore.
126Arguments that
127.B cannot
128be used for commands in this mode are: -l, -L, -D, -S, -m, -h, -c, -v, -r, -o, -T, -O
122.It Fl T | -include-maintenance 129.It Fl T | -include-maintenance
123Show maintenance records such as TOMBSTONEs. Use in combination with --display. 130Show maintenance records such as TOMBSTONEs. Use in combination with --display.
124.It Fl t Ar TYPE | Fl -type= Ns Ar TYPE 131.It Fl t Ar TYPE | Fl -type= Ns Ar TYPE
@@ -145,7 +152,30 @@ variable. The latter is useful to improve performance of tools like
145Ascension as it allows the command to skip IPC with the identity 152Ascension as it allows the command to skip IPC with the identity
146management subsystem. 153management subsystem.
147.El 154.El
148.\".Sh EXAMPLES 155.Sh EXAMPLES
156.Tp
157.Nm
158-z example -a -n www -t A -V "1.2.3.4" -e 1d -p
159.Tp
160.Pp
161.Dl Add a public record for ego "example" with name "www" containing an IP address.
162.sp
163.Tp
164.Nm
165-z example -D
166.Tp
167.Pp
168.Dl Show all records for ego "example"
169.sp
170.Tp
171.Nm
172--from-stdin <<EOF
173 -z alice -a -n www -t A -V "1.2.3.4" -e 3600s -p
174 -z bob -a -n www -t A -V "4.3.2.1" -e 24h -p
175 EOF
176.Tp
177.Pp
178.Dl Read record multiple import commands from stdin.
149.\".Sh FILES 179.\".Sh FILES
150.Sh SEE ALSO 180.Sh SEE ALSO
151.Xr gnunet-gns 1 , 181.Xr gnunet-gns 1 ,