summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d/vyatta-cfg
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-07-14 19:39:03 -0500
committerJohn Southworth <john.southworth@vyatta.com>2011-07-15 11:59:04 -0500
commite396460d35f11b95434e5f08d6376859b0eb5bcd (patch)
tree0f46dbaae130c0e15e509893a59c5aba7fc55aa3 /etc/bash_completion.d/vyatta-cfg
parent63ce0b05d99225496f31ba9fd444ab2fefdc37e9 (diff)
downloadvyatta-cfg-e396460d35f11b95434e5f08d6376859b0eb5bcd.tar.gz
vyatta-cfg-e396460d35f11b95434e5f08d6376859b0eb5bcd.zip
Bugfix 7331: better fix for the bug
(cherry picked from commit fdac525b7596f1b18c201bdcd5923d3e76453ebd)
Diffstat (limited to 'etc/bash_completion.d/vyatta-cfg')
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg2
1 files changed, 0 insertions, 2 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 8626342..01b2a13 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -97,9 +97,7 @@ show ()
args+=("$arg")
fi
done
- # Note: the sed command below is to fix bug 7331
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}"
}