From ec478bd0f0fb57df82411d8563eb283a6f1ff9d1 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Sun, 29 Mar 2015 02:21:30 -0700 Subject: [PATCH] Fix some docs --- commands.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands.go b/commands.go index 97f9b59..78c6294 100644 --- a/commands.go +++ b/commands.go @@ -156,8 +156,8 @@ func Has(c *cli.Context) { } -// On (and off) command enables (uncomments) or disables (comments) the -// specified hostname in the hosts file +// OnOff enables (uncomments) or disables (comments) the specified hostname in +// the hosts file. Exits code 1 if the hostname is missing. func OnOff(c *cli.Context) { if len(c.Args()) != 1 { MaybeError(c, "expected ") @@ -216,7 +216,7 @@ sorted. Duplicates and conflicts will be removed. Extra whitespace and comments will be removed. hostess fix Rewrite the hostsfile - hostess fix -n Show the new hostsfile. Don't write it + hostess fix -n Show the new hostsfile. Don't write it to disk. ` // Fix command removes duplicates and conflicts from the hosts file