]> git.proxmox.com Git - mirror_ovs.git/commit
db-ctl-base: Give better error messages for ambiguous abbreviations.
authorBen Pfaff <blp@ovn.org>
Wed, 18 Sep 2019 14:32:52 +0000 (07:32 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 18 Sep 2019 15:42:34 +0000 (08:42 -0700)
commitcf0e4239460cdf702be05d9abe781d089dbf7dd7
tree8511b260107e08ce460d147e1695b27307f85add
parent3ae9a07ae7738bc14d632ee9edfc696fa8b198dd
db-ctl-base: Give better error messages for ambiguous abbreviations.

Tables and columns may be abbreviated to unique prefixes, but until
now the error messages have just said there's more than one match.
This commit makes the error messages list the possibilities.

Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/db-ctl-base.c
tests/ovs-vsctl.at