diff --git a/Source/DSPTool/Src/main.cpp b/Source/DSPTool/Src/main.cpp index d303a335c3..81abdf61fb 100644 --- a/Source/DSPTool/Src/main.cpp +++ b/Source/DSPTool/Src/main.cpp @@ -208,6 +208,15 @@ void RunAsmTests() // So far, all this binary can do is test partially that itself works correctly. int main(int argc, const char *argv[]) { + if(argc == 1 || (argc == 2 && (!strcmp(argv[1], "--help") || (!strcmp(argv[1], "-h")))) + { + printf("DSPTool [-d] [-o ] [-h ] \n"); + printf("-d: Disassemble\n"); + printf("-o : Results from stdout redirected to a file\n"); + printf("-h
: Output assembly results to a header\n"); + return 0; + } + if (argc == 2 && !strcmp(argv[1], "test")) { RunAsmTests();