Skip to content

Commit

Permalink
Minor updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
interkosmos committed Nov 23, 2024
1 parent 2a4a070 commit 26ee8f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions guide/guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4672,8 +4672,8 @@ Make sure that the instrument is configured to 115,200 baud. Invalid parameters
passed to the GeoCOM methods will be replaced with their default values, and an
error message is printed in verbose mode.

If the DMPACK library and module files are installed to `/opt/`, build, link,
and run the example program with:
If the DMPACK library and module files are installed to `/opt`, build, link, and
run the example program with:

....
$ gfortran -I/opt/include/dmpack -o geocom geocom.f90 /opt/lib/libdmpack.a -lpcre2-8
Expand Down
5 changes: 4 additions & 1 deletion src/dm_arg.f90
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module dm_arg
!! arg_type('verbose', short='V', type=ARG_TYPE_LOGICAL) &
!! ]
!!
!! rc = dm_arg_read(args, app='myapp', major=1, minor=0, patch=0)
!! rc = dm_arg_read(args)
!! call dm_error_out(rc)
!!
!! call dm_arg_get(args(1), input)
Expand All @@ -28,6 +28,9 @@ module dm_arg
!! Each argument requires name and type. The default type is
!! `ARG_TYPE_LOGICAL`. The command-line arguments `--help`/-`h` and
!! `--version`/`-v` are processed automatically by function `dm_arg_read()`.
!!
!! Additionally, you can pass a callback routine that outputs the version
!! string to `dm_arg_read()`.
use :: dm_ascii
use :: dm_error
use :: dm_file
Expand Down

0 comments on commit 26ee8f6

Please sign in to comment.