about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-02-21T01·12+0000
committerJörg Thalheim <joerg@thalheim.io>2018-02-21T01·13+0000
commitfa7fd76c5e8edf3b6888ec0f689e8130448987e8 (patch)
tree238d7bc7e18b9f2e1c3c0dc7f778983eb5346c39 /src
parent4e44025ac5e280c50641d18f1e394c9f120f8bf7 (diff)
nix-copy: fix examples
maybe a left-over from nix-store -r ?
Diffstat (limited to 'src')
-rw-r--r--src/nix/copy.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/copy.cc b/src/nix/copy.cc
index 2ddea9e70a6a..f29429c1ac49 100644
--- a/src/nix/copy.cc
+++ b/src/nix/copy.cc
@@ -57,15 +57,15 @@ struct CmdCopy : StorePathsCommand
         return {
             Example{
                 "To copy Firefox from the local store to a binary cache in file:///tmp/cache:",
-                "nix copy --to file:///tmp/cache -r $(type -p firefox)"
+                "nix copy --to file:///tmp/cache $(type -p firefox)"
             },
             Example{
                 "To copy the entire current NixOS system closure to another machine via SSH:",
-                "nix copy --to ssh://server -r /run/current-system"
+                "nix copy --to ssh://server /run/current-system"
             },
             Example{
                 "To copy a closure from another machine via SSH:",
-                "nix copy --from ssh://server -r /nix/store/a6cnl93nk1wxnq84brbbwr6hxw9gp2w9-blender-2.79-rc2"
+                "nix copy --from ssh://server /nix/store/a6cnl93nk1wxnq84brbbwr6hxw9gp2w9-blender-2.79-rc2"
             },
         };
     }