[PATCH] main: Make -d option repeatable