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 /cmd | |
| parent | 43d2d2f3d912370b7aea05a767151d3b4def778e (diff) | |
Added parser for +- syntax for relative references to snapshots
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/cat.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,8 +2,11 @@ package cmd import ( "fmt" + "golang.furkistan.com/zfdiff/snap" ) func Cat(params []string) { - fmt.Println(params) + snapRef := snap.ToRelative(params[0]) + + fmt.Println(snapRef); }
\ No newline at end of file |
