An example of what to improve is the ./wt dump command where if I type
./wt dump --help ./wt dump -? ./wt dump
I get
wiredtiger_open: [WT_VERB_DEFAULT][ERROR]: int __posix_open_file(WT_FILE_SYSTEM , WT_SESSION *, const char *, WT_FS_OPEN_FILE_TYPE, uint32_t, WT_FILE_HANDLE *), 818: ./WiredTiger.lock: handle-open: open: No such file or directory wt: WT_TRY_SALVAGE: database corruption detected
rather than an error about incorrect usage of the command.