commit 47f6b9672233f03ca1627f48814c19692d456953
parent 44a74c50f25e56a2fe13ef584b4473afcc427f45
Author: night0721 <[email protected]>
Date: Sun, 11 Feb 2024 01:07:02 +0000
update version
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,6 +1,6 @@
CC=gcc
-VERSION = 0.1
+VERSION = 1.0
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
@@ -14,6 +14,7 @@ OBJ = ${SRC:.c=.o}
rush: ${OBJ}
${CC} -o $@ ${OBJ}
+ strip rush
clean:
rm -rf rush
diff --git a/commands.c b/commands.c
@@ -168,7 +168,7 @@ int cd(char **args) {
// show help menu
int help(char **args) {
- printf("rush v0.01-alpha\n");
+ printf("rush %s\n", VERSION);
printf("Built in commands:\n");
for (int i = 0; i < num_builtins(); i++) {