r175: start versioning

This commit is contained in:
Heng Li
2020-03-28 11:52:14 -04:00
parent 1d4f34a36c
commit e75b93ae12
3 changed files with 4 additions and 3 deletions
+1 -2
View File
@@ -5,7 +5,6 @@
#include "ketopt.h"
#include <sys/time.h>
#define VERSION "0.3.0"
#define DEFAULT_OUTPUT "hifiasm.asm"
hifiasm_opt_t asm_opt;
@@ -309,7 +308,7 @@ int CommandLine_process(int argc, char *argv[], hifiasm_opt_t* asm_opt)
}
else if (c == 'v')
{
fprintf(stderr, "[Version] %s\n", VERSION);
puts(HA_VERSION);
return 0;
}
else if (c == 'f') asm_opt->bf_shift = atoi(opt.arg);