\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{moderncvstyleacademic}[2016/08/28 v1.0.0 modern curriculum vitae and letter style scheme: academic]
+\newif\if@citeall
+\@citealltrue
+
% head section alignment options: "left" (default) or "right"
\@initializecommand{\moderncvstyleheadoptions}{}
\DeclareOption{left} {\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,left}}
\DeclareOption{right}{\edef\moderncvstyleheadoptions{\moderncvstyleheadoptions,right}}
+\DeclareOption{citeall}{\@citealltrue}
+\DeclareOption{nocite}{\@citeallfalse}
+
\DeclareOption*{}% avoid choking on unknown options
\ExecuteOptions{left}
\ProcessOptions*\relax% \ProcessOptions* processes the options in the order provided (i.e., with the later ones possibly overriding the former ones), while \ProcessOptions processes them in the order of the package
\boldname{}{}{}
% We need to tell biblatex to check for all entries
-\nocite{*}
+\if@citeall
+ \nocite{*}
+\fi
% Patch the bibliography