Skip to content

Commit

Permalink
Fix typo in -DCf docs. (RocketMap#2529)
Browse files Browse the repository at this point in the history
* Fix clean up forts documentation.

* Update utils.py
  • Loading branch information
daangroot authored and sebastienvercammen committed Mar 7, 2018
1 parent 4210074 commit 313df50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/first-run/commandline.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ environment variables which override config file values which override defaults.
valid scan. Default: 720, 0 to disable.
[env var: POGOMAP_DB_CLEANUP_SPAWNPOINT]
-DCf DB_CLEANUP_FORTS, --db-cleanup-forts DB_CLEANUP_FORTS
Clear gyms and pokestops from database X days after
Clear gyms and pokestops from database X hours after
last valid scan. Default: 0, 0 to disable.
[env var: POGOMAP_DB_CLEANUP_FORTS]

Expand Down
4 changes: 2 additions & 2 deletions pogom/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ def get_args():
'Default: 720, 0 to disable.'),
type=int, default=720)
group.add_argument('-DCf', '--db-cleanup-forts',
help=('Clear gyms and pokestops from database X days ' +
'after last valid scan. ' +
help=('Clear gyms and pokestops from database X hours '
'after last valid scan. '
'Default: 0, 0 to disable.'),
type=int, default=0)
parser.add_argument(
Expand Down

0 comments on commit 313df50

Please sign in to comment.