summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/bash_completion.d/vyatta-op6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-op b/etc/bash_completion.d/vyatta-op
index 052cbff..724ce45 100644
--- a/etc/bash_completion.d/vyatta-op
+++ b/etc/bash_completion.d/vyatta-op
@@ -497,6 +497,11 @@ strip-private ()
${vyatta_bindir}/vyos-strip-config.pl --strict --stdin
}
+commands ()
+{
+ ${vyatta_sbindir}/vyatta-config-gen-sets.pl -
+}
+
# pipe command help
# $1: command
_vyatta_pipe_help ()
@@ -509,6 +514,7 @@ _vyatta_pipe_help ()
more) help="Paginate the output";;
no-more) help="Do not paginate the output";;
strip-private) help="Remove private information from the config";;
+ commands) help="Convert config to set commands";;
'<pattern>') help="Pattern for matching";;
esac
echo -n "$help"