Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed duplicate code #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PatrickSteil
Copy link

Hey,
I love your tools!
While I was using it, I noticed the --no-render-stations argument was duplicate in transitmap -h (see below).
I assume it was just a copy paste accident, so I went ahead and just delete the first occurence.

>> transitmap -h
transitmap (part of LOOM) -128-NOTFOUND
(built Aug 16 2023 12:11:21)

(C) 2017-2023 University of Freiburg - Chair of Algorithms and Data Structures
Authors: Patrick Brosi <[email protected]>

Usage: transitmap < linegraph.json

Allowed options:

General:
  -v [ --version ]                   print version
  -h [ --help ]                      show this help message
  --render-engine arg (=svg)         Render engine, only 'svg' supported
  --line-width arg (=20)             width of a single transit line
  --line-spacing arg (=10)           spacing between transit lines
  --outline-width arg (=1)           width of line outlines
  --render-dir-markers               render line direction markers
  -l [ --labels ]                    render labels
  --line-label-textsize arg (=40)    textsize for line labels
  --station-label-textsize arg (=60) textsize for station labels
  --no-deg2-labels                   no labels for deg-2 stations
Misc:
  -D [ --from-dot ]                  input is in dot format
  --padding arg (=-1)                padding, -1 for auto
  --smoothing arg (=1)               input line smoothing
  --random-colors                    fill missing colors with random colors
  --no-render-stations               don't render stations
  --tight-stations                   don't expand node fronts for stations
  --no-render-stations               don't render stations
  --no-render-node-connections       don't render inner node connections
  --render-node-fronts               render node fronts
  --print-stats                      write stats to stdout

The `-o` flag for `octi` is an invalid option, as in the code expects the `-m` flag or `--optim-mode` (as loom).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant