summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2017-06-27 17:56:56 +0200
committerGitHub <noreply@github.com>2017-06-27 17:56:56 +0200
commit5ce1d8b118ae85765d135aaf06bf04a554607d12 (patch)
treed64d7e9ad3ced07b2dbd7fd0c00b650acf9ddda4 /vtysh
parentMerge pull request #748 from qlyoung/fix-vtysh-exit (diff)
parentvtysh: Sort ordering of vtysh_cmd.c (diff)
downloadfrr-5ce1d8b118ae85765d135aaf06bf04a554607d12.tar.xz
frr-5ce1d8b118ae85765d135aaf06bf04a554607d12.zip
Merge pull request #757 from donaldsharp/extract_sort
vtysh: Sort ordering of vtysh_cmd.c
Diffstat (limited to 'vtysh')
-rwxr-xr-xvtysh/extract.pl.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index 316ea598e..ca280c587 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -198,7 +198,7 @@ foreach (keys %odefun) {
}
# Output DEFSH
-foreach (keys %live) {
+foreach (sort keys %live) {
my ($proto);
my ($key);
$key = $live{$_};
@@ -213,7 +213,7 @@ vtysh_init_cmd ()
{
EOF
-foreach (keys %odefun) {
+foreach (sort keys %odefun) {
my ($node, $str) = (split (/,/));
$cmd = $ocmd{$_};
$cmd =~ s/_cmd/_cmd_vtysh/;