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 Top-like interface for container metrics
ctop provides a concise and condensed overview of real-time metrics for multiple containers: 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. 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 ## 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 ```bash
export DOCKER_HOST=tcp://127.0.0.1:4243 export DOCKER_HOST=tcp://127.0.0.1:4243
ctop ctop
@ -44,10 +44,10 @@ Key | Action
--- | --- --- | ---
a | Toggle display of all (running and non-running) containers a | Toggle display of all (running and non-running) containers
f | Filter displayed containers f | Filter displayed containers
H | Toggle cTop header H | Toggle ctop header
h | Open help dialog h | Open help dialog
s | Select container sort field s | Select container sort field
r | Reverse container sort order r | Reverse container sort order
q | Quit cTop q | Quit ctop
[expanded_view]: _docs/expanded.md [expanded_view]: _docs/expanded.md

View File

@ -1,4 +1,4 @@
# Expanded View # Expanded View
ctop provides an expanded, rolling view for following container metrics 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{ &Switch{
Key: "enableHeader", Key: "enableHeader",
Val: true, Val: true,
Label: "Enable cTop Status Line", Label: "Enable Status Header",
}, },
&Switch{ &Switch{
Key: "loggingEnabled", 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] usage: ctop [options]
@ -97,5 +97,5 @@ func printHelp() {
} }
func printVersion() { 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{"[a] - toggle display of all containers", ""},
menu.Item{"[f] - filter displayed containers", ""}, menu.Item{"[f] - filter displayed containers", ""},
menu.Item{"[h] - open this help dialog", ""}, 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{"[s] - select container sort field", ""},
menu.Item{"[r] - reverse container sort order", ""}, menu.Item{"[r] - reverse container sort order", ""},
menu.Item{"[q] - exit ctop", ""}, menu.Item{"[q] - exit ctop", ""},

View File

@ -68,7 +68,7 @@ func (c *CTopHeader) SetFilter(val string) {
func timeStr() string { func timeStr() string {
ts := time.Now().Local().Format("15:04:05 MST") 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 { func headerPar(x int, s string) *ui.Par {