From b8c009a3e02eb0731826f61c5985217f504cb4b1 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 2 Apr 2015 20:40:39 +0900 Subject: [PATCH] Updating online help --- config.toml | 48 ----------------------------------------- main.go => homemaker.go | 2 +- 2 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 config.toml rename main.go => homemaker.go (97%) diff --git a/config.toml b/config.toml deleted file mode 100644 index af2c68e..0000000 --- a/config.toml +++ /dev/null @@ -1,48 +0,0 @@ -[tasks.dev] - [[tasks.dev.links]] - src = ".gitconfig" - -[tasks.base] - [[tasks.base.links]] - src = ".config/fish" - - [[tasks.base.links]] - src = ".config/keepassx" - - [[tasks.base.links]] - src = ".filezilla" - - [[tasks.base.links]] - src = "profile" - -[tasks.study] - [[tasks.study.links]] - src = "Anki" - - [[tasks.study.links]] - src = ".yomichan.json" - -[tasks.net] - [[tasks.net.links]] - src = ".filezilla" - - [[tasks.net.links]] - src = ".s3cfg" - -[tasks.flatline] - deps = ["base", "dev", "study", "net"] - - [[tasks.flatline.links]] - src = ".ssh_flatline" - dst = ".ssh" - - [[tasks.flatline.links]] - src = ".config/syncthing_flatline" - dst = ".config/syncthing" - -[tasks.wintermute] - deps = ["base", "dev", "study"] - - [[tasks.wintermute.links]] - src = ".ssh_wintermute" - dst = ".ssh" diff --git a/main.go b/homemaker.go similarity index 97% rename from main.go rename to homemaker.go index b181b3f..7ef9411 100644 --- a/main.go +++ b/homemaker.go @@ -71,7 +71,7 @@ func parse(filename string) (*config, error) { func fatalUsage() { _, executable := path.Split(os.Args[0]) - fmt.Printf("Usage: %s [options] config_file [source_dir]\n", executable) + fmt.Printf("Usage: %s [options] conf_file [src_dir]\n\n", executable) flag.PrintDefaults() os.Exit(1) }