ReactOS  0.4.15-dev-1397-g19779b3
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.


void usage (int verbose)



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)
228  fprintf(stderr, "%s", verboseUsage);
229  else
230  fprintf(stderr, "Try log2lines -h\n");
231 }
char * verboseUsage
Definition: help.c:17
#define verbose
Definition: rosglue.h:36
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
Definition: version.h:10
char * optchars
Definition: options.c:20
FILE * stderr

Variable Documentation

◆ verboseUsage

char* verboseUsage

Definition at line 17 of file help.c.

Referenced by usage().