File: print_usage.c

package info (click to toggle)
garlic 1.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 4,440 kB
  • ctags: 1,403
  • sloc: ansic: 52,465; makefile: 1,134
file content (38 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* Copyright (C) 2000 Damir Zucic */

/*=============================================================================

				print_usage.c

Purpose:
	Print usage info. This function will be called if someone tryes to
	run garlic without X server.

Input:
	No input.

Output:
	Usage info written to stdout.

Return value:
	No return value.

========includes:============================================================*/

#include <stdio.h>

/*======print usage info:====================================================*/

void PrintUsage_ (void)
{
fprintf (stdout, "\n=============================================\n");
fprintf (stdout, "Garlic, free molecular visualisation program.\n");
fprintf (stdout, "=============================================\n\n");
fprintf (stdout, "Usage:\n\n");
fprintf (stdout, "      garlic [options] [infile]              \n");
fprintf (stdout, "      garlic -h                ... print help\n");
}

/*===========================================================================*/