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")