use consistent case for ctop name

This commit is contained in:
Bradley Cicenas 2017-03-08 23:40:35 +00:00
parent b9b904626c
commit 0e3fe88bb4
6 changed files with 11 additions and 11 deletions

View File

@ -1,10 +1,10 @@
<p align="center"><img width="200px" src="/_docs/img/logo.png" alt="cTop"/></p>
<p align="center"><img width="200px" src="/_docs/img/logo.png" alt="ctop"/></p>
#
Top-like interface for container metrics
ctop provides a concise and condensed overview of real-time metrics for multiple containers:
<p align="center"><img src="_docs/img/grid.gif" alt="cTop"/></p>
<p align="center"><img src="_docs/img/grid.gif" alt="ctop"/></p>
as well as an [expanded view][expanded_view] for inspecting a specific container.
@ -32,7 +32,7 @@ sudo chmod +x /usr/local/bin/ctop
## Usage
cTop requires no arguments and will configure itself using the `DOCKER_HOST` environment variable
ctop requires no arguments and will configure itself using the `DOCKER_HOST` environment variable
```bash
export DOCKER_HOST=tcp://127.0.0.1:4243
ctop
@ -44,10 +44,10 @@ Key | Action
--- | ---
a | Toggle display of all (running and non-running) containers
f | Filter displayed containers
H | Toggle cTop header
H | Toggle ctop header
h | Open help dialog
s | Select container sort field
r | Reverse container sort order
q | Quit cTop
q | Quit ctop
[expanded_view]: _docs/expanded.md

View File

@ -1,4 +1,4 @@
# Expanded View
ctop provides an expanded, rolling view for following container metrics
<p align="center"><img width="80%" src="img/expanded.gif" alt="cTop"/></p>
<p align="center"><img width="80%" src="img/expanded.gif" alt="ctop"/></p>

View File

@ -15,7 +15,7 @@ var switches = []*Switch{
&Switch{
Key: "enableHeader",
Val: true,
Label: "Enable cTop Status Line",
Label: "Enable Status Header",
},
&Switch{
Key: "loggingEnabled",

View File

@ -83,7 +83,7 @@ func panicExit() {
}
}
var helpMsg = `cTop - container metric viewer
var helpMsg = `ctop - container metric viewer
usage: ctop [options]
@ -97,5 +97,5 @@ func printHelp() {
}
func printVersion() {
fmt.Printf("cTop version %v, build %v\n", version, build)
fmt.Printf("ctop version %v, build %v\n", version, build)
}

View File

@ -11,7 +11,7 @@ var helpDialog = []menu.Item{
menu.Item{"[a] - toggle display of all containers", ""},
menu.Item{"[f] - filter displayed containers", ""},
menu.Item{"[h] - open this help dialog", ""},
menu.Item{"[H] - toggle cTop header", ""},
menu.Item{"[H] - toggle ctop header", ""},
menu.Item{"[s] - select container sort field", ""},
menu.Item{"[r] - reverse container sort order", ""},
menu.Item{"[q] - exit ctop", ""},

View File

@ -68,7 +68,7 @@ func (c *CTopHeader) SetFilter(val string) {
func timeStr() string {
ts := time.Now().Local().Format("15:04:05 MST")
return fmt.Sprintf("cTop - %s", ts)
return fmt.Sprintf("ctop - %s", ts)
}
func headerPar(x int, s string) *ui.Par {