docs: give nfdc examples
refs #4234
Change-Id: Ib8102edfc64f2cc8e822335baaa288b0cec3cf42
diff --git a/docs/manpages/nfdc-strategy.rst b/docs/manpages/nfdc-strategy.rst
index 6a1e592..20e33f1 100644
--- a/docs/manpages/nfdc-strategy.rst
+++ b/docs/manpages/nfdc-strategy.rst
@@ -44,7 +44,6 @@
EXIT CODES
----------
-
0: Success
1: An unspecified error occurred
@@ -53,6 +52,23 @@
7: Strategy not found (**nfdc strategy set** only)
+EXAMPLES
+--------
+nfdc strategy list
+ List all configured strategy choices.
+
+nfdc strategy show prefix /localhost/ping/1
+ Identify which strategy will handle Interests named "/localhost/ping/1".
+
+nfdc strategy set prefix / strategy /localhost/nfd/strategy/best-route
+ Set the default strategy to best-route, latest version.
+
+nfdc strategy set prefix /ndn strategy /localhost/nfd/strategy/multicast/%FD%01
+ Set the strategy of the "/ndn" prefix to multicast, version 1.
+
+nfdc strategy unset prefix /ndn
+ Clear the strategy choice for the "/ndn" prefix.
+
SEE ALSO
--------
nfd(1), nfdc(1)