diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-07-21 23:00:00 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-07-21 23:00:00 -0500 |
| commit | 47fbc0ec08ae75c62df1b7ce6c99c56ad9827a9a (patch) | |
| tree | 9b69897151ceb0fb49147404e1289d0532d10ccc /cmds/list.go | |
| parent | 43d2d2f3d912370b7aea05a767151d3b4def778e (diff) | |
Added parser for +- syntax for relative references to snapshots
Diffstat (limited to 'cmds/list.go')
| -rw-r--r-- | cmds/list.go | 21 |
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); -} |
