From 14d7f4ae741c5b310d93f0914171845294da92de Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:52:39 -0700 Subject: [PATCH] docs: cp documentation update for new functions --- docs/chapters/subcommands/cp.rst | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/chapters/subcommands/cp.rst b/docs/chapters/subcommands/cp.rst index 88c69cfbb..e551fb92e 100644 --- a/docs/chapters/subcommands/cp.rst +++ b/docs/chapters/subcommands/cp.rst @@ -6,17 +6,27 @@ This command allows efficiently copying files from host to container(s). .. code-block:: shell - ishmael ~ # bastille cp ALL /tmp/resolv.conf-cf etc/resolv.conf + ishmael ~ # bastille cp ALL /tmp/resolv.conf-cf /etc/resolv.conf [bastion]: - + /tmp/resolv.conf-cf -> /usr/local/bastille/jails/bastion/root/etc/resolv.conf [unbound0]: - + /tmp/resolv.conf-cf -> /usr/local/bastille/jails/unbound0/root/etc/resolv.conf [unbound1]: - + /tmp/resolv.conf-cf -> /usr/local/bastille/jails/unbound1/root/etc/resolv.conf [squid]: - + /tmp/resolv.conf-cf -> /usr/local/bastille/jails/squid/root/etc/resolv.conf [nginx]: - + /tmp/resolv.conf-cf -> /usr/local/bastille/jails/nginx/root/etc/resolv.conf [folsom]: + /tmp/resolv.conf-cf -> /usr/local/bastille/jails/folsom/root/etc/resolv.conf Unless you see errors reported in the output the `cp` was successful. + +.. code-block:: shell + + ishmael ~ # bastille cp help + Usage: bastille cp [option(s)] TARGET HOST_PATH JAIL_PATH + Options: + + -q | --quiet Suppress output. + -x | --debug Enable debug mode.