aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpm/app/main.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/fpm/app/main.f90 b/fpm/app/main.f90
index 47d7cb1..55c22fd 100644
--- a/fpm/app/main.f90
+++ b/fpm/app/main.f90
@@ -17,8 +17,8 @@ else if (command_argument_count() == 1) then
case("run")
call cmd_run()
case default
- print *, "Unknown command: " // trim(cmdarg)
- call print_help()
+ print *, "fpm error: No such command " // trim(cmdarg)
+ error stop
end select
else
print *, "Too many arguments"