Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify kdb5_util global argv processing
kdb5_util could issue an unexplained error if a command argument matched a command name, such as when trying to load a dump file named "dump". It could also mysteriously work if the command name and its arguments were misordered, such as "kdb5_util kdb.dump load". In the main option loop, build cmd_argv without special-casing command names; then look up cmd_argv[0] after the loop. ticket: 8806
- Loading branch information