summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-01 20:17:30 +0200
committerPaul Buetow <paul@buetow.org>2026-03-01 20:17:30 +0200
commit7a627917fa6211ccb8b515d6669f2b10cfea5f6c (patch)
treee2baecf7408646fb40bee23a9db2b6c6822549c0 /examples
parent6a2f4eb250fa857fb5c619107c4a5b02b51a3104 (diff)
use relative path to bin/rcm in cli example README
Diffstat (limited to 'examples')
-rw-r--r--examples/cli/README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/cli/README.md b/examples/cli/README.md
index e88c6bc..5b84810 100644
--- a/examples/cli/README.md
+++ b/examples/cli/README.md
@@ -8,26 +8,26 @@ To make it available on your `PATH`:
export PATH="$PATH:/path/to/rcm/bin"
```
-Or invoke it directly:
+Or invoke it directly using the relative path from this directory:
```sh
-/path/to/rcm/bin/rcm config.rb --dry
+../../bin/rcm config.rb --dry
```
## Usage
```sh
# Dry run — show what would change, make no changes
-rcm config.rb --dry
+../../bin/rcm config.rb --dry
# Verbose output
-rcm config.rb --debug
+../../bin/rcm config.rb --debug
# Limit execution to specific hosts
-rcm config.rb --hosts earth,mars
+../../bin/rcm config.rb --hosts earth,mars
# Apply configuration
-rcm config.rb
+../../bin/rcm config.rb
```
## What it does