From 7d6599e5a0d9b4a253ca99ffe9d51c49091d0f93 Mon Sep 17 00:00:00 2001 From: Eric Zhu Date: Fri, 27 Oct 2023 17:32:16 -0400 Subject: [PATCH] feat(net): add docs and autocomplete --- completions/try.bash | 2 +- docs/try.1.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/completions/try.bash b/completions/try.bash index faedb84f..603c8004 100644 --- a/completions/try.bash +++ b/completions/try.bash @@ -17,7 +17,7 @@ _try() { case "${cmd}" in (try) - opts="-n -y -v -h -i -D -U summary commit explore" + opts="-n -y -v -h -x -i -D -U summary commit explore" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) diff --git a/docs/try.1.md b/docs/try.1.md index 0d6241d9..357a7f0e 100644 --- a/docs/try.1.md +++ b/docs/try.1.md @@ -37,6 +37,10 @@ While using *try* you can choose to commit the result to the filesystem or compl : Show a usage message (and exit). +-x + +: Unshare the network namespace. + ## Options