File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ struct Main {
128
128
129
129
cli.manifest = program.get <std::string>(" manifest" );
130
130
cli.output = program.get <std::string>(" output" );
131
- cli.updatefrommanfiest = program.get <std::string>(" --upgrade " );
131
+ cli.updatefrommanfiest = program.get <std::string>(" --update " );
132
132
133
133
cli.no_verify = program.get <bool >(" --no-verify" );
134
134
cli.no_write = program.get <bool >(" --no-write" );
@@ -181,7 +181,7 @@ struct Main {
181
181
cdn = std::make_unique<RCDN>(cli.cdn , cache.get ());
182
182
183
183
auto skipids = std::unordered_map<std::string, FileID>{};
184
- {
184
+ if (!cli. updatefrommanfiest . empty ()) {
185
185
rlib_trace (" Update from file: %s" , cli.updatefrommanfiest .c_str ());
186
186
RFile::read_file (cli.updatefrommanfiest , [&, this ](RFile const & rfile) {
187
187
if (cli.match (rfile)) {
You can’t perform that action at this time.
0 commit comments