integrate pokeParse
This commit is contained in:
parent
d47c939826
commit
822981f89b
|
@ -62,7 +62,7 @@ quick_view() {
|
||||||
### Update Pokemon stats file set
|
### Update Pokemon stats file set
|
||||||
update_pokeData() {
|
update_pokeData() {
|
||||||
printf "\n\t\t%s\n\t%s\n\n" "WARNING!!!" "This WILL take a long time"
|
printf "\n\t\t%s\n\t%s\n\n" "WARNING!!!" "This WILL take a long time"
|
||||||
pokemon-colorscripts -l | parallel --bar -j 200% pokeParse
|
pokemon-colorscripts -l | sort | parallel --bar --retry-failed -color -j "${1:-200%}" pokeParse
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! (( $# )); then
|
if ! (( $# )); then
|
||||||
|
@ -78,7 +78,7 @@ while (( $# )); do
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-u|--update)
|
-u|--update)
|
||||||
update_pokeData
|
update_pokeData "$1"
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-h|--help)
|
-h|--help)
|
||||||
|
|
Loading…
Reference in New Issue