]> git.proxmox.com Git - mirror_frr.git/blame - vtysh/daemons.pl
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / vtysh / daemons.pl
CommitLineData
d7b86ae4 1#!/usr/bin/perl
47a3a827 2# SPDX-License-Identifier: GPL-2.0-or-later
d7b86ae4
IR
3##
4## generate daemons list and help strings
5##
6## Copyright (C) 2020 NFWare Inc.
d7b86ae4
IR
7
8use strict;
9
10my @daemons_list = ();
11my @daemons_str = ();
12
13foreach (@ARGV) {
14 push (@daemons_list, $_);
15 push (@daemons_str, "For the $_ daemon\\n");
16}
17
18print "#define DAEMONS_LIST \"<" . join('|', @daemons_list) . ">\"\n";
19print "#define DAEMONS_STR \"" . join('', @daemons_str) . "\"\n";