Improve UX

This commit is contained in:
Marcello Stanisci 2019-02-12 19:03:25 +01:00
parent f22ef3e40c
commit c93c62e8d4
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -281,7 +281,7 @@ execute_history ()
history_cb,
NULL))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
fprintf (stderr,
"Could not request the transaction history.\n");
GNUNET_SCHEDULER_shutdown ();
return;
@ -317,7 +317,7 @@ run (void *cls,
{
if (NULL == account_section)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
fprintf (stderr,
"The option: -s ACCOUNT-SECTION, is mandatory.\n");
return;
}
@ -328,7 +328,7 @@ run (void *cls,
"plugin",
&plugin_name))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
fprintf (stderr,
"Could not find the 'plugin' value under %s\n",
account_section);
return;
@ -338,7 +338,7 @@ run (void *cls,
plugin_name);
if (NULL == plugin_handle)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
fprintf (stderr,
"Could not load the wire plugin\n");
return;
}
@ -419,7 +419,7 @@ main (int argc,
GNUNET_assert
(GNUNET_OK == GNUNET_log_setup ("taler-wire",
NULL,
"WARNING",
NULL)); /* filename */
GNUNET_PROGRAM_run
(argc,