mirror of https://framagit.org/kyodev/kyopages.git
maj
This commit is contained in:
parent
5e22551c88
commit
3e1c35f36d
|
@ -1,7 +1,7 @@
|
|||
# getIp
|
||||
|
||||
|
||||
![version: 4.16.1](https://img.shields.io/badge/version-4.16.1-blue.svg?longCache=true&style=for-the-badge)
|
||||
![version: 2.12.0](https://img.shields.io/badge/version-2.12.0-blue.svg?longCache=true&style=for-the-badge)
|
||||
![bash langage](https://img.shields.io/badge/bash-4-brightgreen.svg?longCache=true&style=for-the-badge)
|
||||
![license LPRAB / WTFPL](https://img.shields.io/badge/license-LPRAB%20%2F%20WTFPL-blue.svg?longCache=true&style=for-the-badge)
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash
|
||||
# shellcheck disable=SC2016,SC2119
|
||||
# shellcheck disable=SC2016,SC2119,SC1117,SC2206
|
||||
|
||||
# SC2016 Expressions don't expand in single quotes
|
||||
# SC2119 Use function "$@" if function's $1 should mean script's $1 (??)
|
||||
# SC1117: Backslash is literal in "\n". Prefer explicit escaping: "\\n".
|
||||
# SC2206: Quote to prevent word splitting, or split robustly with mapfile or read -a.
|
||||
|
||||
version=2.12.0
|
||||
date="09/03/2018"
|
||||
|
@ -847,6 +849,7 @@ options="$*"
|
|||
[ "$options" ] || options="--local"
|
||||
|
||||
for j in $options; do
|
||||
# shellcheck disable=SC2221,SC2222
|
||||
case $j in
|
||||
!(--public|-4|-6|-46|-64) )
|
||||
f_affichage
|
||||
|
|
Loading…
Reference in New Issue