diff options
author | Jafar Al-Gharaibeh <Jafaral@users.noreply.github.com> | 2017-06-27 17:56:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-27 17:56:56 +0200 |
commit | 5ce1d8b118ae85765d135aaf06bf04a554607d12 (patch) | |
tree | d64d7e9ad3ced07b2dbd7fd0c00b650acf9ddda4 /vtysh | |
parent | Merge pull request #748 from qlyoung/fix-vtysh-exit (diff) | |
parent | vtysh: Sort ordering of vtysh_cmd.c (diff) | |
download | frr-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-x | vtysh/extract.pl.in | 4 |
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/; |