diff options
author | Alexander Wilson <rdtscp@fb.com> | 2022-07-22 04:08:11 -0700 |
---|---|---|
committer | Alexander Wilson <rdtscp@fb.com> | 2022-07-27 08:41:03 -0700 |
commit | ae03e1a97229b192e50439091db92a1b11a8df93 (patch) | |
tree | 5c45a048534c10b6c64a97dbe534d0f13f30bdd8 /man/machinectl.xml | |
parent | 922409558e46f855a8fba2c666c056fd95dc2428 (diff) | |
download | systemd-ae03e1a97229b192e50439091db92a1b11a8df93.tar.gz |
machinectl: Add plumbing for a `--force` flag for file copy
machine: Add APIs CopyTo[Machine]WithFlags + CopyFrom[Machine]WithFlags
- Same API to those without `WithFlags` (except this can take flags)
- Initially, only a flag to allow replacing a file if it already exists
Diffstat (limited to 'man/machinectl.xml')
-rw-r--r-- | man/machinectl.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/machinectl.xml b/man/machinectl.xml index 7ecb8885a2..5bc82e5d1a 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -305,7 +305,7 @@ </varlistentry> <varlistentry> - <term><command>copy-to</command> <replaceable>NAME</replaceable> <replaceable>PATH</replaceable> [<replaceable>PATH</replaceable>]</term> + <term><command>copy-to</command> <replaceable>NAME</replaceable> <replaceable>PATH</replaceable> [<replaceable>PATH</replaceable>] <option>--force</option></term> <listitem><para>Copies files or directories from the host system into a running container. Takes a container name, @@ -319,7 +319,7 @@ </varlistentry> <varlistentry> - <term><command>copy-from</command> <replaceable>NAME</replaceable> <replaceable>PATH</replaceable> [<replaceable>PATH</replaceable>]</term> + <term><command>copy-from</command> <replaceable>NAME</replaceable> <replaceable>PATH</replaceable> [<replaceable>PATH</replaceable>] <option>--force</option></term> <listitem><para>Copies files or directories from a container into the host system. Takes a container name, followed by the |