mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-22 17:03:54 -04:00
Warn about extra arguments in flatpak build-sign
This commit is contained in:
committed by
Alexander Larsson
parent
e8b05a2fa6
commit
4bb8a2e0b6
@@ -67,10 +67,10 @@ flatpak_builtin_build_sign (int argc, char **argv, GCancellable *cancellable, GE
|
||||
return FALSE;
|
||||
|
||||
if (argc < 3)
|
||||
{
|
||||
usage_error (context, _("LOCATION and DIRECTORY must be specified"), error);
|
||||
return FALSE;
|
||||
}
|
||||
return usage_error (context, _("LOCATION and DIRECTORY must be specified"), error);
|
||||
|
||||
if (argc > 4)
|
||||
return usage_error (context, _("Too many arguments"), error);
|
||||
|
||||
location = argv[1];
|
||||
id = argv[2];
|
||||
|
||||
Reference in New Issue
Block a user