Skip to content

Commit

Permalink
Merge pull request #54 from synfinatic/default-telescope
Browse files Browse the repository at this point in the history
be explit that the default telescope ID = 0
  • Loading branch information
synfinatic authored Aug 21, 2022
2 parents 08962de + 55d17dd commit a383550
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Changed:

- Options are now disabled while running

Fixed:

- Tell users the default telescope ID is 0

## v2.2.3 - 2021-12-06

Fixed:
Expand Down
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func main() {
flag.BoolVar(&debug, "debug", false, "Enable debug logging")
flag.BoolVar(&version, "version", false, "Print version and exit")
flag.StringVar(&_mode, "mode", "nexstar", "Comms mode: [nexstar|lx200]")
flag.Uint32Var(&telescopeId, "telescope-id", 0, "Alpaca Telescope ID")
flag.Uint32Var(&telescopeId, "telescope-id", 0, "Alpaca Telescope ID (default 0)")
flag.StringVar(&_mount_type, "mount-type", "altaz", "Mount type: [altaz|eqn|eqs]")
flag.BoolVar(&noAutoTrack, "no-auto-track", false, "Do not enable auto-track")
flag.BoolVar(&highPrecision, "high-precision", false, "Default to High Precision LX200 mode")
Expand Down

0 comments on commit a383550

Please sign in to comment.