You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print("Overriding content URL with %s\n", optarg);
set_content_url(optarg);
return true;
case'v':
print("Overriding version URL with %s\n", optarg);
set_version_url(optarg);
return true;
In most cases, this is probably fine. But if we've been given -j for JSON output, we really should only be outputting valid JSON strings. We should probably move these (and any other) warnings to STDERR.
This will likely affect test cases, too.
The text was updated successfully, but these errors were encountered:
If we override the content or version URLs using
-u
,-c
, or-v
, we print out a message on STDOUT warning about it:swupd-client/src/swupd_lib/globals.c
Lines 553 to 572 in ec4a272
In most cases, this is probably fine. But if we've been given
-j
for JSON output, we really should only be outputting valid JSON strings. We should probably move these (and any other) warnings to STDERR.This will likely affect test cases, too.
The text was updated successfully, but these errors were encountered: