File: usage.cc

package info (click to toggle)
autodocksuite 4.2.6-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 97,028 kB
  • sloc: cpp: 24,257; sh: 4,419; python: 1,261; makefile: 627; perl: 15
file content (52 lines) | stat: -rw-r--r-- 1,746 bytes parent folder | download | duplicates (5)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*

 $Id: usage.cc,v 1.6 2010/08/27 00:05:09 mp Exp $

 AutoDock 

Copyright (C) 2009 The Scripps Research Institute. All rights reserved.

 AutoDock is a Trade Mark of The Scripps Research Institute.

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful \
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include "usage.h"


/*----------------------------------------------------------------------------*/
void usage( FILE *const file, const char *const programname )
/*----------------------------------------------------------------------------*/
{
    const char AutoDockHelp[] = \
    "\t-p parameter_filename\n" \
    "\t\t\t-l log_filename\n" \
    "\t\t\t-k (Keep original residue numbers)\n" \
    "\t\t\t-i (Ignore header-checking)\n" \
    "\t\t\t-t (Parse the PDBQT file to check torsions, then stop.)\n" \
    "\t\t\t-d (Increment debug level)\n" \
    "\t\t\t-C (Print copyright notice)\n" \
    "\t\t\t--version (Print autodock version)\n" \
    "\t\t\t--help (Display this message)\n\n";

    fprintf(file, "usage: %s %s\n", programname, AutoDockHelp);
}
/* EOF */