mondediefr / docker-flarum

:speech_balloon: :whale: Docker image of Flarum
https://hub.docker.com/r/mondedie/flarum
MIT License
499 stars 129 forks source link

Better curl options #89

Closed xxxxxliil closed 3 years ago

xxxxxliil commented 3 years ago
-#, --progress-bar
Make curl display transfer progress as a simple progress bar instead of the standard, more informational, meter.
This  progress  bar draws a single line of '#' characters across the screen and shows a percentage if the transfer size is known. 
For transfers without a known size, there will be space ship (-=o=-) that moves back and forth  but  only  while  data  is  being transferred, with a set of flying hash sign symbols on top.

-s, --silent
Silent or quiet mode. Don't show progress meter or error messages. Makes Curl mute.
It will still output the data you  ask  for, otentially even to the terminal/stdout unless you redirect it.
Use -S, --show-error in addition to this option to disable progress meter but still show error messages.
See also -v, --verbose, --stderr and --no-progress-meter.

By replacing -s/--silent with -#/--progress-bar, we can get concise download progress and error output instead of quiet failures

Magicalex commented 3 years ago

Hi, I didn't find --progress-bar option in doc

xxxxxliil commented 3 years ago

Hi, I didn't find --progress-bar option in doc

man curl/curl --help all

Magicalex commented 3 years ago

For this line https://github.com/mondediefr/docker-flarum/blob/master/Dockerfile#L56 ?

xxxxxliil commented 3 years ago

For this line https://github.com/mondediefr/docker-flarum/blob/master/Dockerfile#L56 ?

yep, and https://github.com/xxxxxliil/docker-flarum/blob/patch-2/Dockerfile#L57

xxxxxliil commented 3 years ago

Hi, I didn't find --progress-bar option in doc

The document being read is?