Skip to content

Commit

Permalink
ctbcap: optimize descriptions
Browse files Browse the repository at this point in the history
- optimize trimming description
- optimize -d description
  • Loading branch information
KFERMercer committed Jan 20, 2025
1 parent 68856b0 commit 57bdf74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ctbcap
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ doc() {
echo " Default: 3600 (60 min)."
echo
echo "-d [D]ebug Mode."
echo " Show the raw crawler data."
echo " Show the raw crawler & runtime"
echo " data."
echo
echo "-e [E]dging Mode."
echo " Delay initial requests to"
Expand Down Expand Up @@ -137,7 +138,6 @@ doc() {

# Produce Runtime Variables.
genesis_juicer() {

[ -z "$1" ] && [ -z "${MODEL}" ] && {
echo "(NOTICE) No Option Specified! Show Help Message..."
echo
Expand Down Expand Up @@ -276,7 +276,7 @@ utils() {
--compressed \
--connect-timeout 5 --retry 5 --retry-delay 2 \
2>/dev/null | head -n 1 | grep -oE '[0-9]{3}' \
|| echo 000
|| echo 000
;;
# Usage: `utils connect_dump "<URL>"`
connect_dump)
Expand All @@ -294,7 +294,7 @@ utils() {
| head -n 1 \
| cut -c -15 \
| grep -oE '[0-9]{3}' \
|| echo 000
|| echo 000
;;
# Re-implement random num tool on POSIX Shell (B/E).
# Usage: `utils random_num <SNUM> <BNUM>`
Expand All @@ -316,7 +316,7 @@ utils() {
}
return 0
;;
# Trimming the file content before line num.
# Trim the file to the configured number of lines.
# Usage: `utils trimming_files "<file1>:<max line>" "<file2>:<max line>" ...`
trimming_files)
shift 1
Expand Down

0 comments on commit 57bdf74

Please sign in to comment.