librnr/examples/example_config.c
static void CmdHelp(int argc, char *argv[])
{
  Cmd_T *pCmd;
  int    n;

  for(pCmd=CmdTbl; pCmd->m_sCmdName!=NULL; pCmd++)
  {
    n = printf("%s %s", pCmd->m_sCmdName, pCmd->m_sCmdHelpArgs);
    printf("%*s - %s\n", 30-n, "", pCmd->m_sCmdHelpDesc);
  }
}
/*!
 * \brief Print command help.
 *
 * \param argc    Command argument count.
 * \param argv    Array of arguments.
 */
\brief Print command help.
\param argc    Command argument count.
\param argv    Array of arguments.
\ brief Print command help . \ param argc Command argument count . \ param argv Array of arguments .
static void CmdHelp(int argc, char *argv[])
{
  Cmd_T *pCmd;
  int    n;
  for(pCmd=CmdTbl; pCmd->m_sCmdName!=NULL; pCmd++)
  {
    n = printf("%s %s", pCmd->m_sCmdName, pCmd->m_sCmdHelpArgs);
    printf("%*s - %s\n", 30-n, "", pCmd->m_sCmdHelpDesc);
  }
}
static void CmdHelp ( int argc , char * argv [ ] ) { Cmd_T * pCmd ; int n ; for ( pCmd = CmdTbl ; pCmd -> m_sCmdName != NULL ; pCmd ++ ) { n = printf ( " " , pCmd -> m_sCmdName , pCmd -> m_sCmdHelpArgs ) ; printf ( " \n " , 30 - n , " " , pCmd -> m_sCmdHelpDesc ) ; } }
\brief Print command help.
\ brief Print command help .