summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-05-12 09:05:36 +0100
committerAlexander Larsson <alexl@redhat.com>2016-05-12 11:07:30 +0200
commitc35395185bbd898511fd4c779b64604a4b3c2ee8 (patch)
tree944998a349de6b5155fda773b9e3e51fc2f848af
parent96da8b75246913d55d306087f653560912298e4f (diff)
downloadxdg-app-c35395185bbd898511fd4c779b64604a4b3c2ee8.tar.gz
Actually update the branch when using --update-appstream
-rw-r--r--app/flatpak-builtins-build-export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/flatpak-builtins-build-export.c b/app/flatpak-builtins-build-export.c
index a4f7c3d..47cac9f 100644
--- a/app/flatpak-builtins-build-export.c
+++ b/app/flatpak-builtins-build-export.c
@@ -48,7 +48,7 @@ static GOptionEntry options[] = {
{ "body", 'b', 0, G_OPTION_ARG_STRING, &opt_body, "Full description", "BODY" },
{ "arch", 0, 0, G_OPTION_ARG_STRING, &opt_arch, "Architecture to export for (must be host compatible)", "ARCH" },
{ "runtime", 'r', 0, G_OPTION_ARG_NONE, &opt_runtime, "Commit runtime (/usr), not /app" },
- { "update-appstream", 0, 0, G_OPTION_ARG_NONE, &opt_runtime, "Update the appstream branch" },
+ { "update-appstream", 0, 0, G_OPTION_ARG_NONE, &opt_update_appstream, "Update the appstream branch" },
{ "files", 0, 0, G_OPTION_ARG_STRING, &opt_files, "Use alternative directory for the files", "SUBDIR"},
{ "metadata", 0, 0, G_OPTION_ARG_STRING, &opt_metadata, "Use alternative file for the metadata", "FILE"},
{ "gpg-sign", 0, 0, G_OPTION_ARG_STRING_ARRAY, &opt_gpg_key_ids, "GPG Key ID to sign the commit with", "KEY-ID"},