Update usage message format for cta-verify-file and fix "Unknown command line option -V"
Update usage message so that it is more consistent with other cta-admin commands and fix the usage bug. Example:
[root@ctaproductionfrontend02 new-cta-verify-file]# /var/tmp/new-cta-verify-file/cta-verify-file -V 123
Unknown command-line option: -V
libctacommon.so.0(cta::exception::Backtrace::Backtrace(bool)+0x69) [0x7f393d1815d3]
libctacommon.so.0(cta::exception::Exception::Exception(std::string const&, bool)+0x89) [0x7f393d182e37]
libctacommon.so.0(cta::exception::CommandLineNotParsed::CommandLineNotParsed(std::string const&, bool)+0x3b) [0x7f393d18212f]
/var/tmp/new-cta-verify-file/cta-verify-file() [0x44c682]
/var/tmp/new-cta-verify-file/cta-verify-file() [0x426138]
/var/tmp/new-cta-verify-file/cta-verify-file() [0x42652e]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f393ae2d555]
/var/tmp/new-cta-verify-file/cta-verify-file() [0x424ae9]
In addition, add a check before verification begins to see if the provided --vid exists in the CTA namespace.
- Check if vid exists before verification begins
- Remove detailed backtrace when providing unknown cli option
- Update usage message to make it more similar to the cta-admin cmds