summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
Diffstat (limited to 'human.go')
-rw-r--r--human.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/human.go b/human.go
index 393e9a3..66d1211 100644
--- a/human.go
+++ b/human.go
@@ -14,12 +14,8 @@ import (
// so reporting tables of the status of what droplets and hypervisors
// are in text columns and rows that can be easily read in a terminal
-func RepoHeader() string {
- return "Name Path"
-}
-
func standardHeader() string {
- return fmt.Sprintf("%-4s %40s %s", "r/w", "Path", "flags")
+ return fmt.Sprintf("%-4s %-40s %s", "", "Path", "flags")
}
func (all *Repos) standardHeader(r *Repo) string {
@@ -28,6 +24,9 @@ func (all *Repos) standardHeader(r *Repo) string {
if all.IsPrivate(r.GoPath) {
flags += "(private) "
}
+ if all.IsFavorite(r.GoPath) {
+ flags += "(favorite) "
+ }
if all.IsReadOnly(r.GoPath) {
readonly = ""
} else {