Update auto-complete script
Update auto-complete script

 * Add images#register. Fixes #3661
 * Don't auto-complete id's for options that don't take them.
 * Auto complete filenames for options that take filenames.

brightbox/brightbox-cli,brightbox/brightbox-cli