summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-12-03 15:07:43 -0800
committerStig Thormodsrud <stig@vyatta.com>2010-12-03 15:07:43 -0800
commit06fa9ac15ad5b9ae2cc56d6f59f322114d8a2bbb (patch)
treeeb734ceb042bdfd2ca6e9429acbdb287ee5e5e73 /etc
parentbdfc6b8adfaa11ec48a21c4b5a8bd3284fd7a7de (diff)
downloadvyatta-cfg-06fa9ac15ad5b9ae2cc56d6f59f322114d8a2bbb.tar.gz
vyatta-cfg-06fa9ac15ad5b9ae2cc56d6f59f322114d8a2bbb.zip
Pipe "compare" output through pager.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 7704285..2c0a7bc 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -154,7 +154,7 @@ confirm ()
compare ()
{
- ${vyatta_sbindir}/vyatta-config-mgmt.pl --action=diff "$@"
+ ${vyatta_sbindir}/vyatta-config-mgmt.pl --action=diff "$@" | eval "${VYATTA_PAGER:-cat}"
}
save ()