summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/vyatta-cfg
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-07-14 18:03:43 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-07-15 11:59:04 -0500
commitb08d6b7d0cd2d62da49f3c76d220a6860240791e (patch)
treec8524034eb093c7c69648e36dd934a62b8551d74 /etc/bash_completion.d/vyatta-cfg
parente9149ec8278d5b6a11dc6fea0e85149d80cced50 (diff)
downloadvyatta-cfg-b08d6b7d0cd2d62da49f3c76d220a6860240791e.tar.gz
vyatta-cfg-b08d6b7d0cd2d62da49f3c76d220a6860240791e.zip
Bugfix 7331: Napa timeframe fix for config migration commment bug. Will investigate if this is a viable long term fix or if we want to find another way to ignore migrated comments for oxnard
(cherry picked from commit 5aeb46dbdb903a1921bd38e5bfc1acd53cd08c6a)
Diffstat (limited to 'etc/bash_completion.d/vyatta-cfg')
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 01b2a13..776c56b 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -98,6 +98,8 @@ show ()
fi
done
cli-shell-api "${opts[@]}" -- showCfg "${args[@]}" \
+ | sed -e '/--- CONFIGURATION COMMENTED OUT DURING MIGRATION BELOW ---/\
+ ,/--- CONFIGURATION COMMENTED OUT DURING MIGRATION ABOVE ---/d'\
| eval "${VYATTA_PAGER:-cat}"
}