Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 1 | nfd |
| 2 | === |
| 3 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 4 | Usage |
| 5 | ----- |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 6 | |
| 7 | :: |
| 8 | |
| 9 | nfd [options] |
| 10 | |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 11 | Description |
| 12 | ----------- |
| 13 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 14 | NFD forwarding daemon. |
| 15 | |
Davide Pesavento | 59769b1 | 2017-11-12 23:52:06 -0500 | [diff] [blame] | 16 | Options |
| 17 | ------- |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 18 | |
Davide Pesavento | 59769b1 | 2017-11-12 23:52:06 -0500 | [diff] [blame] | 19 | ``-c <path/to/nfd.conf>`` or ``--config <path/to/nfd.conf>`` |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 20 | Specify the path to nfd configuration file (default: ``${SYSCONFDIR}/ndn/nfd.conf``). |
| 21 | |
Davide Pesavento | 59769b1 | 2017-11-12 23:52:06 -0500 | [diff] [blame] | 22 | ``-m`` or ``--modules`` |
| 23 | List available logging modules. |
| 24 | |
| 25 | ``-h`` or ``--help`` |
| 26 | Print help message and exit. |
| 27 | |
| 28 | ``-V`` or ``--version`` |
| 29 | Show version information and exit. |
| 30 | |
| 31 | Exit status |
| 32 | ----------- |
| 33 | |
| 34 | 0: No error. |
| 35 | |
| 36 | 1: An unspecified error occurred. |
| 37 | |
| 38 | 2: Malformed command line, e.g., invalid, missing, or unknown argument. |
| 39 | |
| 40 | 4: Insufficient privileges. |
| 41 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 42 | Examples |
| 43 | -------- |
| 44 | |
| 45 | Start NFD forwarding daemon as super user and use a configuration file from the current |
| 46 | working directory. |
| 47 | |
Alexander Afanasyev | 49272f7 | 2014-04-06 21:49:46 -0700 | [diff] [blame] | 48 | :: |
| 49 | |
hilata | 6ee6e07 | 2014-04-20 17:10:18 -0500 | [diff] [blame] | 50 | sudo nfd --config nfd.conf |