mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 15:43:02 +02:00
cli: fix copy running-config start<TAB>
Allow completing with startup-config for both src and dst datastores in copy command. Fixes #576 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -291,9 +291,11 @@ int infix_datastore(kcontext_t *ctx)
|
||||
if (!strcmp(ds, "src")) {
|
||||
puts("factory-config");
|
||||
puts("running-config");
|
||||
puts("startup-config");
|
||||
}
|
||||
if (!strcmp(ds, "dst")) {
|
||||
puts("running-config");
|
||||
puts("startup-config");
|
||||
}
|
||||
|
||||
done:
|
||||
|
||||
Reference in New Issue
Block a user