From eaebfd8cc2b0984a71b07cb42d01959e312e9111 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 4 Aug 2016 18:39:11 -0400 Subject: [PATCH] Remove a misleading error message NAME is not, in fact, required. --- app/flatpak-builtins-update.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/flatpak-builtins-update.c b/app/flatpak-builtins-update.c index 7d15ebd0..8dea2674 100644 --- a/app/flatpak-builtins-update.c +++ b/app/flatpak-builtins-update.c @@ -166,9 +166,6 @@ flatpak_builtin_update (int argc, if (!flatpak_option_context_parse (context, options, &argc, &argv, 0, &dir, cancellable, error)) return FALSE; - if (argc < 1) - return usage_error (context, _("NAME must be specified"), error); - if (argc >= 2) name = argv[1]; if (argc >= 3)