Add --bare command line option (see #811).