Update 'README.md'

This commit is contained in:
Benjamin Collet 2018-04-08 08:56:49 +02:00
parent d50cd9c004
commit a59b876c84

View file

@ -25,6 +25,7 @@ On invocation of `ifup`:
nse () { nse () {
if [ $# -lt 2 ]; then if [ $# -lt 2 ]; then
echo "Please specify a network namespace and a command" echo "Please specify a network namespace and a command"
echo "Usage: $0 <namespace> <command>"
return return
fi fi
NS=${1} NS=${1}
@ -39,6 +40,7 @@ EOF
nss () { nss () {
if [ $# -ne 1 ]; then if [ $# -ne 1 ]; then
echo "Please specify a network namespace" echo "Please specify a network namespace"
echo "Usage: $0 <namespace>"
return return
fi fi
nse $1 zsh -i nse $1 zsh -i