Skip to content

Commit

Permalink
Merge pull request #233 from rustprooflabs/docs
Browse files Browse the repository at this point in the history
Improve --input-file help message
  • Loading branch information
rustprooflabs authored Feb 25, 2022
2 parents 1de3fb6 + 644ccb2 commit b065359
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions docker/pgosm_flex.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/usr/bin/env python3
"""Python script to run PgOSM Flex.
"""Python script to run PgOSM Flex within Docker container.
Designed to be ran in Docker image:
Docker image available on Docker Hub
https://hub.docker.com/r/rustprooflabs/pgosm-flex
Usage instructions:
https://github.com/rustprooflabs/pgosm-flex/blob/main/docs/DOCKER-RUN.md
"""
import configparser
import logging
Expand Down Expand Up @@ -45,7 +48,7 @@
@click.option('--input-file',
required=False,
default=None,
help='Set explicit filepath to input osm.pbf file. Overrides default file handling, archiving, and MD5 checksum.')
help='Set filename or absolute filepath to input osm.pbf file. Overrides default file handling, archiving, and MD5 checksum validation. Filename is assumed under /app/output unless absolute path is used.')
@click.option('--layerset', required=True,
default='default',
help='Layerset to load. Defines name of included layerset unless --layerset-path is defined.')
Expand Down
6 changes: 4 additions & 2 deletions docs/DOCKER-RUN.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ Options:
--data-only When set, skips running Sqitch and importing QGIS
Styles.
--debug Enables additional log output
--input-file TEXT Set explicit filepath to input osm.pbf file. Overrides
default file handling, archiving, and MD5 checksum.
--input-file TEXT Set filename or absolute filepath to input osm.pbf
file. Overrides default file handling, archiving, and
MD5 checksum validation. Filename is assumed under
/app/output unless absolute path is used.
--layerset TEXT Layerset to load. Defines name of included layerset
unless --layerset-path is defined. [required]
--layerset-path TEXT Custom path to load layerset INI from. Custom paths
Expand Down

0 comments on commit b065359

Please sign in to comment.