making cmdline flags play nicer