aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpystardust <notpiestardust@gmail.com>2021-03-03 13:31:17 +0530
committerpystardust <notpiestardust@gmail.com>2021-03-03 13:31:17 +0530
commit3091086a4efdc1d0aa7acefe05f3b2dee9388345 (patch)
tree766beb66564a864cec10fed9be2d6ee536ae1823
parent620e6862ad76f109b34722d6e53f7db1695cbb67 (diff)
downloadytfzf-3091086a4efdc1d0aa7acefe05f3b2dee9388345.tar.gz
changed name of link-count to video-count as we can use -n without -L
-rwxr-xr-xytfzf14
1 files changed, 7 insertions, 7 deletions
diff --git a/ytfzf b/ytfzf
index 4a9015a..9f03f94 100755
--- a/ytfzf
+++ b/ytfzf
@@ -70,16 +70,16 @@ printf " -d, --download <search-query> Download to current directory\
printf " -f <search-query> Show available formats before proceeding\n";
printf " -a, --auto-play <search-query> Auto play the first result, no selector\n";
printf " -r --random-play <search-query> Auto play a random result, no selector\n";
-printf " -n, --link-count= <link-count> To specify number of videos to select with -a or -r\n";
+printf " -n, --video-count= <video-count> To specify number of videos to select with -a or -r\n";
printf " -l, --loop <search-query> Loop: prompt selector again after video ends\n";
printf " -s <search-query> After the video ends make another search \n";
printf " -L, --link-only <search-query> Prints the selected URL only, helpful for scripting\n";
printf " Use - instead of <search-query> for stdin\n";
printf "\n"
printf " Option usage:\n"
-printf " ytfzf -fDH to show history using external \n"
-printf " menu and show formats\n"
-printf " ytfzf -fD --choose-from-history same as above\n"
+printf " ytfzf -fDH to show history using external \n"
+printf " menu and show formats\n"
+printf " ytfzf -fD --choose-from-history same as above\n"
printf "\n"
printf " Defaults can be modified through ENV variables\n";
printf " Defaults:\n";
@@ -91,7 +91,7 @@ printf " YTFZF_CUR=1 For status bar bodules\n";
printf " YTFZF_EXTMENU=' dmenu -i -l 30'\n";
printf " To use rofi\n";
printf " YTFZF_EXTMENU=' rofi -dmenu -fuzzy -width 1500'\n";
-printf " YTFZF_ENABLE_FZF_DEFAULT_OPTS=0 1 : fzf will use FZF_DEFAULT_OPTS\n";
+printf " YTFZF_ENABLE_FZF_DEFAULT_OPTS=0 1 : fzf will use FZF_DEFAULT_OPTS\n";
printf "\n";
printf " For more details refer https://github.com/pystardust/ytfzf\n";
}
@@ -458,7 +458,7 @@ parse_opt () {
link-only) parse_opt "L" ;;
- link-count=*) parse_opt "n" "${OPTARG#*=}" ;;
+ video-count=*) parse_opt "n" "${OPTARG#*=}" ;;
audio-only) parse_opt "m" ;;
@@ -507,7 +507,7 @@ parse_opt () {
U) [ -p "$FIFO" ] && preview_img "$OPTARG"; exit;
# This option is reserved for the script, to show image previews
- # Not to be used by explicitly
+ # Not to be used explicitly
;;
*)
Un proyecto texto-plano.xyz