aboutsummaryrefslogtreecommitdiff
path: root/cmds/list.go
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-07-21 23:00:00 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-07-21 23:00:00 -0500
commitfb8aee6c5147b8751a3920f613934d90b79ef4c5 (patch)
tree46dd389d9695b3c4f9f1e65962e76b383f703863 /cmds/list.go
parenta10f10119f05320fb71574ad54b3161f5a37d371 (diff)
downloadzsu-fb8aee6c5147b8751a3920f613934d90b79ef4c5.tar.xz
zsu-fb8aee6c5147b8751a3920f613934d90b79ef4c5.zip
Added parser for +- syntax for relative references to snapshots
Diffstat (limited to 'cmds/list.go')
-rw-r--r--cmds/list.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/cmds/list.go b/cmds/list.go
deleted file mode 100644
index 14fa53d..0000000
--- a/cmds/list.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package cmd
-
-import (
- "flag"
- "fmt"
-)
-
-func List(params []string) {
- flags := flag.NewFlagSet("list", flag.ExitOnError)
-
- var withPaths bool
-
- const WITH_PATHS_HELP = "print paths to the provided reference within the snapshot"
-
- flags.BoolVar(&withPaths, "paths", false, WITH_PATHS_HELP);
- flags.BoolVar(&withPaths, "p", false, WITH_PATHS_HELP);
-
- flags.Parse(params);
-
- fmt.Printf("Your flag is: %t", withPaths);
-}