Exit with an error message if no host is provided via the config or
on the command line instead of running into a curl error.
Adjust the manpage which said that host defaults to twitter.
Bug reported at http://bugs.debian.org/563098
goto exit;
}
+ if (!session->host) {
+ fprintf(stderr, "You need to provide a host either in ~/.bti or with --host.\n");
+ goto exit;
+ }
+
if (session->host == HOST_TWITTER && session->action == ACTION_GROUP) {
fprintf(stderr, "Groups only work in Identi.ca.\n");
goto exit;
you should specify the API URI. For example identi.ca's URI is:
https://identi.ca/api/statuses
</para>
- <para>
- If no host is specified, the default is to send to twitter.com.
- </para>
</listitem>
</varlistentry>
<varlistentry>