ReactOS 0.4.15-dev-8231-g29a56f3
help.c File Reference
#include <stdio.h>
#include "version.h"
#include "compat.h"
#include "config.h"
#include "options.h"
#include "cmd.h"
#include "help.h"
Include dependency graph for help.c:

Go to the source code of this file.

Functions

void usage (int verbose)
 

Variables

charverboseUsage
 

Function Documentation

◆ usage()

void usage ( int  verbose)

Definition at line 223 of file help.c.

224{
225 fprintf(stderr, "log2lines " LOG2LINES_VERSION "\n\n");
226 fprintf(stderr, "Usage: log2lines -%s {<exefile> <offset> {<offset>}}\n", optchars);
227 if (verbose)
229 else
230 fprintf(stderr, "Try log2lines -h\n");
231}
#define stderr
Definition: stdio.h:100
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
#define verbose
Definition: rosglue.h:36
char * verboseUsage
Definition: help.c:17
char * optchars
Definition: options.c:20
#define LOG2LINES_VERSION
Definition: version.h:10

Variable Documentation

◆ verboseUsage

char* verboseUsage

Definition at line 17 of file help.c.

Referenced by usage().