extra arguments to -g should print an error message instead of doing nothing