Permalink
Browse files

Use consistent spelling: command-line

  • Loading branch information...
dcrossleyau committed Jun 29, 2016
1 parent 04bdf16 commit 710e201053897609ceb667e0687f830f92f9d006
Showing with 4 additions and 4 deletions.
  1. +4 −4 doc/guide.md
View
@@ -335,7 +335,7 @@ into the final response header set.
Okapi always adds a X-Okapi-Url header to the request to any modules.
This tells the modules how they can make further calls to Okapi, should
-they need to. This Url can be specified on the command line when starting
+they need to. This Url can be specified on the command-line when starting
Okapi, and it can well point to some load balancer in front of multiple
Okapi instances.
@@ -1319,7 +1319,7 @@ for relevant properties. Okapi itself parses *command* and any
#### Java -D options
The -D option can be used to specify various run-time parameters in
-Okapi. These must be at the beginning of the command line, before the
+Okapi. These must be at the beginning of the command-line, before the
`-jar`.
* `port`: The port on which Okapi listens. Defaults to 9130
@@ -1343,8 +1343,8 @@ Okapi requires exactly one command to be given. These are:
* `help` to list command-line options and commands
-#### Command line-options
-These options are at the end of the command line:
+#### Command-line options
+These options are at the end of the command-line:
* `-hazelcast-config-cp` _file_ -- Read config from class path
* `-hazelcast-config-file` _file_ -- Read config from local file

2 comments on commit 710e201

@MikeTaylor

This comment has been minimized.

Show comment
Hide comment
@MikeTaylor

MikeTaylor Jun 29, 2016

Contributor

Well, "Command line-options" was obviously a typo, thanks for spotting!

The others were correct, though: "command line" in this context is a nounal phrase. When functioning in an adjectival context ("command-line options") it gets hyphenated, but not when it's functioning as a noun ("on the command line").

Contributor

MikeTaylor replied Jun 29, 2016

Well, "Command line-options" was obviously a typo, thanks for spotting!

The others were correct, though: "command line" in this context is a nounal phrase. When functioning in an adjectival context ("command-line options") it gets hyphenated, but not when it's functioning as a noun ("on the command line").

@dcrossleyau

This comment has been minimized.

Show comment
Hide comment
@dcrossleyau

dcrossleyau Jun 29, 2016

Contributor

Thanks for the clear explanation.

There were others from the past. I think that i have fixed them all in 2a55288

Contributor

dcrossleyau replied Jun 29, 2016

Thanks for the clear explanation.

There were others from the past. I think that i have fixed them all in 2a55288

Please sign in to comment.