Improve UX
This commit is contained in:
parent
f22ef3e40c
commit
c93c62e8d4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user