diff options
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 { |
