diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-07-21 23:00:00 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-07-21 23:00:00 -0500 |
commit | fb8aee6c5147b8751a3920f613934d90b79ef4c5 (patch) | |
tree | 46dd389d9695b3c4f9f1e65962e76b383f703863 /cmd | |
parent | a10f10119f05320fb71574ad54b3161f5a37d371 (diff) | |
download | zsu-fb8aee6c5147b8751a3920f613934d90b79ef4c5.tar.xz zsu-fb8aee6c5147b8751a3920f613934d90b79ef4c5.zip |
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.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 |