[tor-commits] [ooni-probe/master] Fix type in README and manpage for oonideckgen.

art at torproject.org art at torproject.org
Sun Oct 5 11:57:17 UTC 2014

commit 11efacdd42667631f2ac0bb4a9015ba58c3d13da
Author: Arturo Filastò <art at fuffa.org>
Date:   Sun Oct 5 13:56:35 2014 +0200

    Fix type in README and manpage for oonideckgen.
    ooniresource is actually ooniresources.
 README.rst         |    8 ++++----
 data/oonideckgen.1 |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.rst b/README.rst
index 7a0e749..1299276 100644
--- a/README.rst
+++ b/README.rst
@@ -67,7 +67,7 @@ To install it from the current master run::
 The run::
     mkdir my_decks
-    sudo ooniresource --update-inputs --update-geoip
+    sudo ooniresources --update-inputs --update-geoip
     oonideckgen -o my_decks/
 The output from the last command will tell you how to run ooniprobe to perform
@@ -180,7 +180,7 @@ To generate decks you will have to update the input resources of ooniprobe.
 This can be done with::
-    ooniresource --update-inputs
+    ooniresources --update-inputs
 If you get a permission error, you may have to run the command as root or
 change the ooniprobe data directory inside of `ooniprobe.conf`.
@@ -189,7 +189,7 @@ On some platforms, for example debian contrib, you will not get all the geoip
 related files needed. In that case it is possible to manually download them
 with ``ooniresources``::
-    ooniresource --update-geoip
+    ooniresources --update-geoip
 Generating decks
@@ -199,7 +199,7 @@ You can generate decks for your country thanks to the oonideckgen command.
 If you wish, for example, to generate a deck to be run in the country of Italy,
 you can do so (be sure to have updated the input resources first) by running::
-    oonideck --country-code IT --output ~/
+    oonideckgen --country-code IT --output ~/
 You will now have in your home a folder called `deck-it`, containing the ooni
 deck (ends with .deck) and the inputs.
diff --git a/data/oonideckgen.1 b/data/oonideckgen.1
index 9406d98..f808165 100644
--- a/data/oonideckgen.1
+++ b/data/oonideckgen.1
@@ -75,7 +75,7 @@ This tools will generate a test deck that include the following tests:
 If deckgen is run with no arugment a geoip lookup is done on the IP of the user
 and that country is chosen.
-In order to run deckgen you must have first have run ooniresource --update-inputs.
+In order to run deckgen you must have first have run ooniresources --update-inputs.

More information about the tor-commits mailing list