From a10f10119f05320fb71574ad54b3161f5a37d371 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Wed, 21 Jul 2021 19:21:14 -0500 Subject: Add subcommand structure for diff, list, and overwrite --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index ea477f4..31a9640 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,7 @@ import ( "os" "io" "fmt" - "golang.flu0r1ne.net/zfdiff/cmds" + "golang.flu0r1ne.net/zfdiff/cmd" ) func printUsage(w io.Writer) { @@ -35,11 +35,11 @@ func main() { case "list": cmd.List(subargs) case "overwrite": - //overwrite(subargs) + cmd.Overwrite(subargs) case "cat": - //cmd.Cat(subargs) + cmd.Cat(subargs) case "diff": - //diff(subargs) + cmd.Diff(subargs) case "-h", "-help", "--help", "help": printUsage(os.Stdout) default: -- cgit v1.2.3