and silence
This commit is contained in:
@@ -50,7 +50,7 @@ _update_client() {
|
||||
}
|
||||
|
||||
_list() {
|
||||
curl -fL -w "\n" -s -H "Secret: $MFL_TOKEN" "$MFL_ROOTURL"/ls
|
||||
curl -fL -s -w "\n" -s -H "Secret: $MFL_TOKEN" "$MFL_ROOTURL"/ls
|
||||
}
|
||||
|
||||
_write() {
|
||||
@@ -127,25 +127,25 @@ _write_stdin() { # name
|
||||
|
||||
_delete() { # name
|
||||
read -p "Sure to delete: $1 ? Break to exit " foo
|
||||
curl -fL -w "\n" \
|
||||
curl -fL -s -w "\n" \
|
||||
-H "Secret: $MFL_TOKEN" \
|
||||
"$MFL_ROOTURL"/delete/"$1"
|
||||
}
|
||||
|
||||
_details() { # name
|
||||
curl -fL -w "\n" \
|
||||
curl -fL -s -w "\n" \
|
||||
-H "Secret: $MFL_TOKEN" \
|
||||
"$MFL_ROOTURL"/details/"$1"
|
||||
}
|
||||
|
||||
_simple_list() {
|
||||
curl -fL -w "\n" \
|
||||
curl -fL -s -w "\n" \
|
||||
-H "Secret: $MFL_TOKEN" \
|
||||
"$MFL_ROOTURL"/ls-simple
|
||||
}
|
||||
|
||||
_maintain() {
|
||||
curl -fL -w "\n" \
|
||||
curl -fL -s -w "\n" \
|
||||
-H "Secret: $MFL_TOKEN" \
|
||||
"$MFL_ROOTURL"/maintenance
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user