Abort if earlygetopt fails to detect an option.
Otherwise it could happen that a command is used on the wrong repository,
because abbreviations of --cwd or --repository were ignored.
#!/bin/shhghg -qhg helphg -q helphg add -hhg add --skjdfkshg help diffhg help statushg -q help statushg help foohg skjdfksexit 0