File: usage.c

package info (click to toggle)
cgdb 0.6.7-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 3,276 kB
  • sloc: ansic: 17,828; sh: 5,176; exp: 1,019; lex: 611; makefile: 287; yacc: 255; cpp: 10
file content (27 lines) | stat: -rw-r--r-- 752 bytes parent folder | download
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
#if HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */

#if HAVE_STDIO_H
#include <stdio.h>
#endif /* HAVE_STDIO_H */

#include "usage.h"

void usage(void)
{
    printf("CGDB Usage:\n"
            "   cgdb [cgdb options] [--] [gdb options]\n" "\n" "CGDB Options:\n"
#ifdef HAVE_GETOPT_H
            "   --version   Print version information and then exit.\n"
#else
            "   -v          Print version information and then exit.\n"
#endif
#ifdef HAVE_GETOPT_H
            "   --help      Print help (this message) and then exit.\n"
#else
            "   -h          Print help (this message) and then exit.\n"
#endif
            "   -d          Set debugger to use.\n"
            "   --          Marks the end of CGDB's options.\n");
}