s7get: Support reading both db and flags.