Skip to content

SPECIAL OPTION TYPES

Tool options use standard types (int, string, etc.) as well as these special types:

time

Time values are seconds by default. For example, --run-time 60 means 60 seconds. Time values support an optional suffix: s (seconds), m (minutes), h (hours), d (days). --run-time 1m means 1 minute (the same as 60 seconds).

size

Size values are bytes by default. For example, --disk-space-free 1024means 1 Kibibyte. Size values support an optional suffix: k (Kibibyte), M (Mebibyte), G (Gibibyte).

DSN

See “DSN (DATA SOURCE NAME) SPECIFICATIONS”.

Hash, hash, Array, array

Hash, hash, Array, and array values are comma-separated lists of values. For example, --ignore-tables foo,bar ignores tables foo and bar.