# Gmt2kml option error with -I-

**URL:** <https://forum.generic-mapping-tools.org/t/gmt2kml-option-error-with-i/3220>\
**Category:** Q&A\
**Created:** [August 18, 2022, 3:39pm UTC](https://forum.generic-mapping-tools.org/t/gmt2kml-option-error-with-i/3220 "2022-08-18T15:39:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DF98](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@DF98](https://forum.generic-mapping-tools.org/u/DF98)\
**Post date:** [August 18, 2022, 3:39pm UTC](https://forum.generic-mapping-tools.org/t/gmt2kml-option-error-with-i/3220/1 "2022-08-18T15:39:42Z")

</div>

gmt2kml “text” option argument error with -I- from 6.4 on:

```
gmt gmt2kml -I- -Fl lines.dat > lines.kml

gtm2kml [ERROR]: Cannot find file -
```

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [August 18, 2022, 3:51pm UTC](https://forum.generic-mapping-tools.org/t/gmt2kml-option-error-with-i/3220/2 "2022-08-18T15:51:16Z")

</div>

Thanks, already [fixed](https://github.com/GenericMappingTools/gmt/pull/6964) 15 minutes before your post and merged into master! How is that for time travel.

---

<div class="post-metadata">

**Author:** ![DF98](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@DF98](https://forum.generic-mapping-tools.org/u/DF98)\
**Post date:** [August 18, 2022, 3:55pm UTC](https://forum.generic-mapping-tools.org/t/gmt2kml-option-error-with-i/3220/3 "2022-08-18T15:55:05Z")

</div>

Absolutely perfect! Nothing faster! Thank you!
