Functions

rpmcli-common.c File Reference

#include "system.h"
#include <stdlib.h>
#include <rpm/rpmlog.h>
#include "rpmcli-common.h"
#include "debug.h"
Include dependency graph for rpmcli-common.c:

Go to the source code of this file.

Functions

void argerror (const char *desc)
static void printVersion (FILE *fp)
static void printBanner (FILE *fp)
void printUsage (poptContext con, FILE *fp, int flags)

Function Documentation

void argerror ( const char *  desc  ) 

Definition at line 8 of file rpmcli-common.c.

References _, and __progname.

Referenced by main().

static void printBanner ( FILE *  fp  )  [static]

Definition at line 19 of file rpmcli-common.c.

References _.

Referenced by printUsage().

void printUsage ( poptContext  con,
FILE *  fp,
int  flags 
)

Definition at line 25 of file rpmcli-common.c.

References printBanner(), printVersion(), and rpmIsVerbose.

Referenced by main().

static void printVersion ( FILE *  fp  )  [static]

Definition at line 14 of file rpmcli-common.c.

References _, and rpmEVR.

Referenced by printUsage().