diff -r cfa93fbbe9b4 -r c3960c7e66fa hgext/githelp.py --- a/hgext/githelp.py Wed May 23 22:17:04 2018 -0400 +++ b/hgext/githelp.py Wed May 23 22:25:00 2018 -0400 @@ -94,9 +94,9 @@ try: args.remove(flag) except Exception: - msg = _("unknown option '{0}' packed with other options") - hint = _("please try passing the option as its own flag: -{0}") - raise error.Abort(msg.format(ex.opt), hint=hint.format(ex.opt)) + msg = _("unknown option '%s' packed with other options") + hint = _("please try passing the option as its own flag: -%s") + raise error.Abort(msg % ex.opt, hint=hint % ex.opt) ui.warn(_("ignoring unknown option %s\n") % flag)