mirror of
https://github.com/gmcn42/mt32-pi-control.git
synced 2026-09-22 18:37:58 +00:00
Correct program names in usage.
This commit is contained in:
1 parent
4357707198
commit
aa14e57a67
3 files changed
+8
-3
No files matched your search
@@ -35,6 +35,10 @@
|
||||
#include "midi_dev.h"
|
||||
#include "getopt.h"
|
||||
|
||||
#ifndef PROGRAM_NAME
|
||||
#define PROGRAM_NAME "MT32-PI.EXE"
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
MODE_UNCHANGED,
|
||||
MODE_MUNT,
|
||||
@@ -430,7 +434,7 @@ static unsigned char roland_checksum(const unsigned char *buf, unsigned short le
|
||||
}
|
||||
|
||||
static void print_usage(void) {
|
||||
printf("USAGE: MT32-PI.EXE [OPTIONS]\n");
|
||||
printf("USAGE: " PROGRAM_NAME " [OPTIONS]\n");
|
||||
printf("OPTIONS:\n");
|
||||
printf( "-h/--help: Print this info.\n"
|
||||
"-v/--verbose: Be verbose about what is going on.\n"
|
||||
|
||||
Reference in new issue
Block a user