Update 'README.md'
This commit is contained in:
parent
d50cd9c004
commit
a59b876c84
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue