Shouldn't this be more generic? As in, if there are other kind of flags, we do not have any guarantee that it will be the first argument. Right?