Ubuntu Pastebin

Paste from None at Wed, 12 Jul 2017 08:36:01 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#include <vector>
#include <iostream>

struct aptDispatchWithHelp {
    const char *Match;
    const char *Help;
};

void ShowHelpListCommands(std::vector<aptDispatchWithHelp> const &Cmds)/*{{{*/
{
   for (auto const &c: Cmds)
   {
      std::cout << "  " << c.Match << " - " << c.Help << std::endl;
   }
}
Download as text