diff --git a/tools/buildscripts/repack_locales.py b/tools/buildscripts/repack_locales.py
index 51edb546cf68610fe6f4e146d2f5a30cc075b277..eabc04e9f08985e97a29a2fae5d6d095370a8219 100755
--- a/tools/buildscripts/repack_locales.py
+++ b/tools/buildscripts/repack_locales.py
@@ -162,6 +162,10 @@ def DoMain(argv):
                     help="Print the expected output file list, then exit.")
   parser.add_option("-x", action="store", dest="int_dir",
                     help="Intermediate build files output directory.")
+  parser.add_option("-g", action="store", dest="grit_dir",
+                    help="Placeholder for unneeded/unused grit_dir option.")
+  parser.add_option("-b", action="store", dest="branding",
+                    help="Placeholder for unneeded/unused branding option.")
   parser.add_option("-s", action="store", dest="share_int_dir",
                     help="Shared intermediate build files output directory.")
   parser.add_option("-e", action="append", dest="extra_input", default=[],