From b871341f6d8cec6459a70977e51228eb524b7263 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Sat, 11 Feb 2017 16:46:29 +0300 Subject: [PATCH] update documentation --- doc.go | 2 +- docstring.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc.go b/doc.go index e4bebab..d83d321 100644 --- a/doc.go +++ b/doc.go @@ -294,7 +294,7 @@ Setting the file selection is done with "save" command: Getting the file selection is similarly done with "load" command. You may need to parse the response as such to achieve what you need: - resp=$(lf -remote 'load') + resp=$(echo 'load' | nc -U /tmp/lf.${USER}.sock) mode=$(echo $resp | cut -d' ' -f1) list=$(echo $resp | cut -d' ' -f2-) if [ $mode == 'copy' ]; then diff --git a/docstring.go b/docstring.go index db0eec0..07d4290 100644 --- a/docstring.go +++ b/docstring.go @@ -307,7 +307,7 @@ character. Setting the file selection is done with "save" command: Getting the file selection is similarly done with "load" command. You may need to parse the response as such to achieve what you need: - resp=$(lf -remote 'load') + resp=$(echo 'load' | nc -U /tmp/lf.${USER}.sock) mode=$(echo $resp | cut -d' ' -f1) list=$(echo $resp | cut -d' ' -f2-) if [ $mode == 'copy' ]; then