Rename binary to nmrp-flash
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Mon, 25 Jan 2016 13:28:09 +0000 (14:28 +0100)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Mon, 25 Jan 2016 13:28:09 +0000 (14:28 +0100)
Makefile
main.c

index 4b430be558002cf470ac50a4f729f9f87f26438f..0ad5c8b110f27cf8d0075b84b988e4b362ee2e51 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 CC ?= gcc
 CFLAGS = -Wall
 
-nmrpd: nmrp.o tftp.o main.o
-       $(CC) $(CFLAGS) -o nmrpd nmrp.o tftp.o main.o
+nmrp-flash: nmrp.o tftp.o main.o
+       $(CC) $(CFLAGS) -o nmrp-flash nmrp.o tftp.o main.o
 
 nmrp.o: nmrp.c nmrpd.h
        $(CC) $(CFLAGS) -c -o nmrp.o nmrp.c
diff --git a/main.c b/main.c
index 29bf1c41f7cc09a7c186cc72674d645f5cf2d94f..7f9797c0e68ae0b49a9b8cb16c9db9154d1270e6 100644 (file)
--- a/main.c
+++ b/main.c
@@ -25,7 +25,7 @@
 void usage(FILE *fp)
 {
        fprintf(fp,
-                       "Usage: nmrpd [OPTIONS...]\n"
+                       "Usage: nmrp-flash [OPTIONS...]\n"
                        "\n"
                        "Options:\n"
                        " -a <ipaddr>     IP address to assign to target device\n"