aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cat.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/cat.go b/cmd/cat.go
index 99b48fb..4f54abc 100644
--- a/cmd/cat.go
+++ b/cmd/cat.go
@@ -2,8 +2,11 @@ package cmd
import (
"fmt"
+ "golang.flu0r1ne.net/zfdiff/snap"
)
func Cat(params []string) {
- fmt.Println(params)
+ snapRef := snap.ToRelative(params[0])
+
+ fmt.Println(snapRef);
} \ No newline at end of file