Check-in [f13cb5079a]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Rework the basic help message
Timelines: family | ancestors | descendants | both | improved_ui
Files: files | file ages | folders
SHA1:f13cb5079ae522f12894d94ab1da4ff407acd757
User & Date: bapt 2014-06-16 14:36:55
Context
2014-06-16
14:39
Define config help message check-in: 83fab84f61 user: bapt tags: improved_ui
14:36
Rework the basic help message check-in: f13cb5079a user: bapt tags: improved_ui
14:28
Improved help check-in: 3062feb4d1 user: bapt tags: improved_ui
Changes

Changes to cplanet.c.

537
538
539
540
541
542
543
544









545
546
547
548
549
550
551
	nerr_error_string(neoerr,&neoerr_str);
	warnx("%s", neoerr_str.buf);
}

static void
usage(void)
{
	fprintf(stderr, "Usage cplanet [options] <command>");









	exit(0);
}

static void
usage_feed(void)
{
}







|
>
>
>
>
>
>
>
>
>







537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
	nerr_error_string(neoerr,&neoerr_str);
	warnx("%s", neoerr_str.buf);
}

static void
usage(void)
{
	fprintf(stderr, "Usage cplanet [options] <command>\n\n");
	fprintf(stderr, "Global options:\n");
	fprintf(stderr, "\t%-20s%s\n", "-c <configfile>", "Specify the configuration file");
	fprintf(stderr, "\t%-20s%s\n", "-d <dbfile>", "Specify the database file\n");
	fprintf(stderr, "Commands supported:\n");
	fprintf(stderr, "\t%-20s%s\n", "config", "Change config settings");
	fprintf(stderr, "\t%-20s%s\n", "feed", "List/Manage feeds");
	fprintf(stderr, "\t%-20s%s\n", "output", "Configure the outputs of cplanet");
	fprintf(stderr, "\t%-20s%s\n", "update", "Fetch feeds and update datbase");

	exit(0);
}

static void
usage_feed(void)
{
}