aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEuro20179 <f>2021-03-01 12:38:36 -0800
committerEuro20179 <f>2021-03-01 12:38:36 -0800
commitfbf56183cb91b66cd6fda0bdad26e0c4b12bc124 (patch)
tree7ead0c6a1bd2b491789978bb459245f85cdb3a24
parent970654afa380e90e2ed5451b35c8f61fc015fd11 (diff)
downloadytfzf-fbf56183cb91b66cd6fda0bdad26e0c4b12bc124.tar.gz
added -n to help + readme
-rw-r--r--README.md1
-rwxr-xr-xytfzf1
2 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index dd6dd80..e801532 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,7 @@ Usage: ytfzf <search query>
-l <search query> Loop: prompt selector again after video ends
-s <search query> After the video ends make another search
-L <search query> Prints the selected URL only, helpful for scripting
+ -n <link count> <search query> Prints selected URLs only (useful with -a or -r)
Use - instead of <query> for stdin
```
diff --git a/ytfzf b/ytfzf
index e1dbc03..ae84a34 100755
--- a/ytfzf
+++ b/ytfzf
@@ -42,6 +42,7 @@ printf " -r <search query> Auto play a random result, no selector\n";
printf " -l <search query> Loop: prompt selector again after video ends\n";
printf " -s <search query> After the video ends make another search \n";
printf " -L <search query> Prints the selected URL only, helpful for scripting\n";
+printf " -n <link count> <search query> Prints selected URLs only (useful with -a or -r)\n";
printf " Use - instead of <query> for stdin\n";
printf "\n"
printf " Option can be combines. Like\n"
Un proyecto texto-plano.xyz