help.cpp File Reference
#include "help.hpp"
#include "format-helpers.hpp"
#include <ndn-cxx/util/logger.hpp>
#include <cerrno>
#include <cstring>
#include <unistd.h>
+ Include dependency graph for help.cpp:

Go to the source code of this file.

Namespaces

 nfd
 -status-http-server
 
 nfd::tools
 
 nfd::tools::nfdc
 

Functions

int nfd::tools::nfdc::help (std::ostream &os, const CommandParser &parser, std::vector< std::string > args)
 Tries to help the user, if requested on the command line. More...
 
static void nfd::tools::nfdc::helpCommand (const std::string &noun, const std::string &verb)
 
void nfd::tools::nfdc::helpList (std::ostream &os, const CommandParser &parser, ParseMode mode=ParseMode::ONE_SHOT, std::string_view noun="")
 Writes the list of available commands to a stream. More...
 
 nfd::tools::nfdc::NDN_LOG_INIT (nfdc.CommandDefinition)
 

Variables

constexpr int nfd::tools::nfdc::LIST_COMMAND_NAME_COLUMN_WIDTH = 16