File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ struct Main {
128128
129129 cli.manifest = program.get <std::string>(" manifest" );
130130 cli.output = program.get <std::string>(" output" );
131- cli.updatefrommanfiest = program.get <std::string>(" --upgrade " );
131+ cli.updatefrommanfiest = program.get <std::string>(" --update " );
132132
133133 cli.no_verify = program.get <bool >(" --no-verify" );
134134 cli.no_write = program.get <bool >(" --no-write" );
@@ -181,7 +181,7 @@ struct Main {
181181 cdn = std::make_unique<RCDN>(cli.cdn , cache.get ());
182182
183183 auto skipids = std::unordered_map<std::string, FileID>{};
184- {
184+ if (!cli. updatefrommanfiest . empty ()) {
185185 rlib_trace (" Update from file: %s" , cli.updatefrommanfiest .c_str ());
186186 RFile::read_file (cli.updatefrommanfiest , [&, this ](RFile const & rfile) {
187187 if (cli.match (rfile)) {
You can’t perform that action at this time.
0 commit comments