From a1f10ebfb0bfd21f281cd29d810a5384c9d996ea Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 6 Apr 2015 10:23:17 +0900 Subject: [PATCH] Updating docs --- homemaker.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homemaker.go b/homemaker.go index 351ade2..0cd2085 100644 --- a/homemaker.go +++ b/homemaker.go @@ -70,7 +70,7 @@ func parse(filename string) (*config, error) { } func usage() { - fmt.Printf("Usage: %s [options] conf_file [src_dir]\n\n", os.Args[0]) + fmt.Printf("Usage: %s [options] conf [src]\n\n", os.Args[0]) fmt.Print("Parameters:\n") flag.PrintDefaults() } @@ -91,7 +91,7 @@ func main() { } taskName := flag.String("task", "default", "name of task to execute") - dstDir := flag.String("dest_dir", currUsr.HomeDir, "target directory for tasks") + dstDir := flag.String("dest", currUsr.HomeDir, "target directory for tasks") force := flag.Bool("force", true, "create parent directories to target") clobber := flag.Bool("clobber", false, "delete files and directories at target") verbose := flag.Bool("verbose", false, "verbose output")