update --appstream: Actually handle remote argument if specified

tingping/wmclass
Alexander Larsson 2016-10-25 14:39:55 +02:00
parent af983c2b06
commit 294c9bd7c3
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ flatpak_builtin_update (int argc,
return FALSE;
if (opt_appstream)
return update_appstream (dir, argc >= 2 ? argv[2] : NULL, cancellable, error);
return update_appstream (dir, argc >= 2 ? argv[1] : NULL, cancellable, error);
prefs = &argv[1];
n_prefs = argc - 1;