diff --git a/IPython/html/nbextensions.py b/IPython/html/nbextensions.py
index a8c689b..8f3239c 100644
--- a/IPython/html/nbextensions.py
+++ b/IPython/html/nbextensions.py
@@ -319,7 +319,9 @@ class NBExtensionApp(BaseIPythonApplication):
)
def install_extensions(self):
- install_nbextension(self.extra_args,
+ if len(self.extra_args)>1:
+ raise ValueError("only one nbextension allowed at a time. Call multiple times to install multiple extensions.")
+ install_nbextension(self.extra_args[0],
overwrite=self.overwrite,
symlink=self.symlink,
verbose=self.verbose,