implement --quit on command-line as well
1.11.1