update documentation

This commit is contained in:
Gokcehan 2017-02-11 16:46:29 +03:00
parent 6047255449
commit b871341f6d
2 changed files with 2 additions and 2 deletions

2
doc.go
View File

@ -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

View File

@ -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