Skip to content

Commit 41fdfd0

Browse files
committed
Add version string in usage
1 parent bf034a0 commit 41fdfd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#include "sm64_tools.h"
77
#include "utils.h"
88

9+
#define SM64EXTEND_VERSION "0.1"
10+
911
// default configuration
1012
static const sm64_config_t default_config =
1113
{
@@ -18,7 +20,7 @@ static const sm64_config_t default_config =
1820

1921
static void print_usage(void)
2022
{
21-
ERROR("sm64extend is a Super Mario 64 ROM extender\n"
23+
ERROR("sm64extend v" SM64EXTEND_VERSION " is a Super Mario 64 ROM extender\n"
2224
"\n"
2325
"Usage: sm64extend [options] <input file> [output file]\n"
2426
"\n"

0 commit comments

Comments
 (0)