diff options
author | Jeffrey Armstrong <jeff@approximatrix.com> | 2020-11-02 17:48:22 -0500 |
---|---|---|
committer | Jeffrey Armstrong <jeff@approximatrix.com> | 2020-11-02 17:48:22 -0500 |
commit | 263032f0f0dcc6418dd987c84b1aed7f414b4939 (patch) | |
tree | c9ceed5516d23e944069154439f017424cc4d017 /main.f90 | |
parent | c87868567fa22c0c0caf3da018a7fb1d5b0c348d (diff) | |
download | gnc-263032f0f0dcc6418dd987c84b1aed7f414b4939.tar.gz gnc-263032f0f0dcc6418dd987c84b1aed7f414b4939.zip |
Started checking command arguments at zero since inetd on Linux seems to be doing something weird to the command line.HEADmaster
Diffstat (limited to 'main.f90')
-rw-r--r-- | main.f90 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,7 +61,7 @@ implicit none stop end if - i = 1 + i = 0 do while(i <= command_argument_count()) call get_command_argument(i, arg) if(trim(arg) == "-pub") then @@ -85,7 +85,7 @@ implicit none call write_log("Initiating program") ! Diagnostics - do i = 1,command_argument_count() + do i = 0,command_argument_count() call get_command_argument(i, arg) call write_log("Argument: "//trim(arg)) end do |