Skip to content

Commit

Permalink
fix commandline description
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bretterklieber committed May 25, 2024
1 parent 329cea4 commit d7df13a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ start.txt
# Output of the go coverage tool, specifically when used with LiteIDE
*.out

mmcli-srv

# Dependency directories (remove the comment below to include it)
# vendor/
2 changes: 1 addition & 1 deletion commandline.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewCommandLine(logger *slog.Logger, backend backend.Backend) *CommandLine {
func (c *CommandLine) Parse() error {
var listen = flag.String("listen", defaultListen, "listen: <ip:port|:port>")
var enableLocation = flag.String("location-enable", defaultLocationEnable, "enable location gathering: <all|gps-nmea|gps-raw|3gpp|agps‐msa|agps‐msb>")
var gpsRefresh = flag.Int("gps-refresh", defaultGpsRefresh, "enable location gathering: <gps-nmea|gps-raw|3gpp|agps‐msa|agps‐msb>")
var gpsRefresh = flag.Int("gps-refresh", defaultGpsRefresh, "gps refresh rate in seconds")
flag.Parse()

if *listen != "" {
Expand Down

0 comments on commit d7df13a

Please sign in to comment.