Improve UX
This commit is contained in:
parent
f22ef3e40c
commit
c93c62e8d4
@ -281,7 +281,7 @@ execute_history ()
|
|||||||
history_cb,
|
history_cb,
|
||||||
NULL))
|
NULL))
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
fprintf (stderr,
|
||||||
"Could not request the transaction history.\n");
|
"Could not request the transaction history.\n");
|
||||||
GNUNET_SCHEDULER_shutdown ();
|
GNUNET_SCHEDULER_shutdown ();
|
||||||
return;
|
return;
|
||||||
@ -317,7 +317,7 @@ run (void *cls,
|
|||||||
{
|
{
|
||||||
if (NULL == account_section)
|
if (NULL == account_section)
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
fprintf (stderr,
|
||||||
"The option: -s ACCOUNT-SECTION, is mandatory.\n");
|
"The option: -s ACCOUNT-SECTION, is mandatory.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -328,7 +328,7 @@ run (void *cls,
|
|||||||
"plugin",
|
"plugin",
|
||||||
&plugin_name))
|
&plugin_name))
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
fprintf (stderr,
|
||||||
"Could not find the 'plugin' value under %s\n",
|
"Could not find the 'plugin' value under %s\n",
|
||||||
account_section);
|
account_section);
|
||||||
return;
|
return;
|
||||||
@ -338,7 +338,7 @@ run (void *cls,
|
|||||||
plugin_name);
|
plugin_name);
|
||||||
if (NULL == plugin_handle)
|
if (NULL == plugin_handle)
|
||||||
{
|
{
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
fprintf (stderr,
|
||||||
"Could not load the wire plugin\n");
|
"Could not load the wire plugin\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -419,7 +419,7 @@ main (int argc,
|
|||||||
|
|
||||||
GNUNET_assert
|
GNUNET_assert
|
||||||
(GNUNET_OK == GNUNET_log_setup ("taler-wire",
|
(GNUNET_OK == GNUNET_log_setup ("taler-wire",
|
||||||
NULL,
|
"WARNING",
|
||||||
NULL)); /* filename */
|
NULL)); /* filename */
|
||||||
GNUNET_PROGRAM_run
|
GNUNET_PROGRAM_run
|
||||||
(argc,
|
(argc,
|
||||||
|
Loading…
Reference in New Issue
Block a user