The command:
./dump.php last-merge min
causes the error message:
PHP Notice: Undefined offset: 2 in /home/allan/dbscripts/dbscripts.module on line 1901

The fix is to edit dbscripts.module and change line 1901 from:
if ($argv[$pos]) {
to:
if (isset($argv[$pos]) && $argv[$pos]) {