mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
When run like 'open-coredump.sh --help' the options parsing loop doesn't run because $# == 1 and [ $# -gt 1 ] evaluates to false. The simplest fix is to parse -h|--help on its own as the options parsing loop assumes that there's core-file argument present. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com> Closes #14075