Updating docs
This commit is contained in:
parent
5e4ff87716
commit
a1f10ebfb0
@ -70,7 +70,7 @@ func parse(filename string) (*config, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func usage() {
|
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")
|
fmt.Print("Parameters:\n")
|
||||||
flag.PrintDefaults()
|
flag.PrintDefaults()
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
taskName := flag.String("task", "default", "name of task to execute")
|
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")
|
force := flag.Bool("force", true, "create parent directories to target")
|
||||||
clobber := flag.Bool("clobber", false, "delete files and directories at target")
|
clobber := flag.Bool("clobber", false, "delete files and directories at target")
|
||||||
verbose := flag.Bool("verbose", false, "verbose output")
|
verbose := flag.Bool("verbose", false, "verbose output")
|
||||||
|
Loading…
Reference in New Issue
Block a user